Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Wxh16144 committed May 6, 2024
1 parent d0c9ca7 commit 9a5e792
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/mock-project-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
strategy:
matrix:
node_version: [18.x]
type: [site, react, theme]
client: [npm, yarn, pnpm]
type: [site, react]
client: [npm, pnpm]
os: [ubuntu-latest, windows-latest]
fail-fast: false
steps:
Expand Down Expand Up @@ -75,10 +75,6 @@ jobs:
- name: Install dependencies
run: pnpm i

- name: clean up `packageManager`
if: matrix.client == 'yarn'
run: jq 'del(.packageManager)' -c package.json > package.json.tmp && rm package.json && mv package.json.tmp package.json

- name: Run mock project build
run: node ./scripts/ci-mock-project-build.js --type=${{ matrix.type }} --client=${{ matrix.client }}

0 comments on commit 9a5e792

Please sign in to comment.