Skip to content

Commit

Permalink
chore(ci): replace yarn with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Nov 25, 2023
1 parent d84dbff commit 08bfa6b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,19 @@ jobs:
- name: Set up nodejs
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 21.x

- name: Install dependencies
run: |
corepack enable
yarn install
corepack prepare pnpm@latest --activate
pnpm install
working-directory: frontend

- name: Build
run: |
npx browserslist@latest --update-db
yarn build
pnpm build
working-directory: frontend

- name: Archive frontend artifacts
Expand Down

0 comments on commit 08bfa6b

Please sign in to comment.