ci: configure workflows
This commit is contained in:
parent
896e33549b
commit
92961f5f88
1 changed files with 12 additions and 2 deletions
14
.github/workflows/cd.yml
vendored
14
.github/workflows/cd.yml
vendored
|
@ -8,7 +8,7 @@ on:
|
|||
branches:
|
||||
- master
|
||||
jobs:
|
||||
linter:
|
||||
install:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -20,6 +20,17 @@ jobs:
|
|||
version: latest
|
||||
- run: pnpm install --ignore-scripts
|
||||
- run: pnpm wxt prepare
|
||||
linter:
|
||||
needs: install
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: lts/*
|
||||
- uses: pnpm/action-setup@v2.1.0
|
||||
with:
|
||||
version: latest
|
||||
- run: pnpm run lint
|
||||
- run: pnpm run tsc
|
||||
|
||||
|
@ -34,7 +45,6 @@ jobs:
|
|||
- uses: pnpm/action-setup@v2.1.0
|
||||
with:
|
||||
version: latest
|
||||
- run: pnpm install --ignore-scripts
|
||||
- run: pnpx semantic-release --dry-run
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue