Skip to content

Commit

Permalink
chore(ci): safer pnpm install
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Dec 20, 2023
1 parent 743d85b commit 50c135b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ on: [push, pull_request]

jobs:
test:
name: Node.js v16
name: Node.js v18
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16

- name: (env) pnpm
run: curl -L https://pnpm.js.org/pnpm.js | node - add --global pnpm
node-version: 18
- uses: pnpm/action-setup@v2.2.4
with:
version: 7.13.5
run_install: false

- name: Install
run: pnpm install
Expand Down

0 comments on commit 50c135b

Please sign in to comment.