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