Skip to content

Commit

Permalink
ci: pin the pnpm version used to 5 (#29)
Browse files Browse the repository at this point in the history
pnpm version 6 has been released, which dropped support for Node.js version 10.
This project still supports Node.js 10, so pnpm 6 cannot be used.
  • Loading branch information
sounisi5011 authored Apr 10, 2021
1 parent 3bca39c commit 510a514
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
${{ runner.os }}-node-${{ matrix.node-version }}-
${{ runner.os }}-node-
${{ runner.os }}-
- name: Install pnpm
run: npm i -g pnpm
- name: Install pnpm v5
run: npm i -g pnpm@5
- name: Install Dependencies
run: pnpm install
- run: pnpm run lint
Expand Down Expand Up @@ -66,8 +66,8 @@ jobs:
${{ runner.os }}-node-${{ matrix.node-version }}-
${{ runner.os }}-node-
${{ runner.os }}-
- name: Install pnpm
run: npm i -g pnpm
- name: Install pnpm v5
run: npm i -g pnpm@5
- name: Install Dependencies
run: pnpm install
- run: pnpm run test-only
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: |
readonly CUSTOM_PUBLISH_SCRIPT_PATH=.github/workflows/publish.sh
npm i -g pnpm
npm i -g pnpm@5
pnpm install
cd '${{ matrix.path-git-relative }}'
pnpm run build --if-present
Expand Down

0 comments on commit 510a514

Please sign in to comment.