From 2e19bb28f955eb8b5167900872f25df64424ee67 Mon Sep 17 00:00:00 2001 From: Rexogamer Date: Wed, 26 Jun 2024 11:30:00 +0100 Subject: [PATCH] ci: use correct version of pnpm + node 20 turns out [this is optional](https://github.com/pnpm/action-setup/tree/master#version) if `packageManager` is set in `package.json` (which it is). I imagine the version mismatch was the cause of our woes --- .github/workflows/docs.yml | 4 +--- .github/workflows/lint.yml | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4306d393..0fdcdc16 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,9 +12,7 @@ jobs: uses: actions/checkout@v3 with: submodules: recursive - - uses: pnpm/action-setup@v2.2.4 - with: - version: 7 + - uses: pnpm/action-setup@v4.0.0 - name: Use Node.js 18 uses: actions/setup-node@v3 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 77eeeb24..2782b949 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,16 +11,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x] + node-version: [16.x, 18.x, 20.x] steps: - name: Checkout repository and submodules uses: actions/checkout@v3 with: submodules: recursive - - uses: pnpm/action-setup@v2.2.4 - with: - version: 7 + - uses: pnpm/action-setup@v4.0.0 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: