Skip to content

Commit

Permalink
ci: for pnpm 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ethansnow2012 committed Apr 9, 2024
1 parent 140a9af commit ea8a893
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm' # specify cache for pnpm
- name: Install pnpm
uses: pnpm/action-setup@v2.0.1
with:
version: latest
- name: Install PNPM
run: npm i -g pnpm
- run: pnpm install # or `pnpm ci` if you have a pnpm-lock.yaml
- run: pnpm run build --if-present
- run: pnpm test

0 comments on commit ea8a893

Please sign in to comment.