Skip to content

Commit

Permalink
ci: configure workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
molvqingtai committed Sep 27, 2024
1 parent e2ae62a commit ebcffd1
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches:
- master
jobs:
install:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -20,17 +20,6 @@ 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/[email protected]
with:
version: latest
- run: pnpm run lint
- run: pnpm run tsc

Expand All @@ -45,6 +34,8 @@ jobs:
- uses: pnpm/[email protected]
with:
version: latest
- run: pnpm install --ignore-scripts
- run: pnpm wxt prepare
- run: pnpx semantic-release --dry-run
env:
GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }}

0 comments on commit ebcffd1

Please sign in to comment.