From 2b3d5917fa95f3e8df18786123883c443b178748 Mon Sep 17 00:00:00 2001 From: Andreas Richter <708186+richtera@users.noreply.github.com> Date: Wed, 7 Feb 2024 05:56:43 -0500 Subject: [PATCH] fix: Upgrade node where 16 was still being used and fix pnpm in ci. --- .github/workflows/bump-version.yml | 11 ++++++++--- .github/workflows/lint-test-build.yml | 9 +++++++-- .github/workflows/release.yml | 11 ++++++++--- 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index aa61cd3a..0ada49a8 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -26,11 +26,16 @@ jobs: - name: ⚙️ Setup Node.js uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '18.x' cache: 'pnpm' - - name: 🧰 Install - run: pnpm install + - uses: pnpm/action-setup@v2 + name: Install pnpm + with: + version: 8 + run_install: | + - recursive: false + args: [--frozen-lockfile, --strict-peer-dependencies] - name: ⬆️ Bump package version run: |- diff --git a/.github/workflows/lint-test-build.yml b/.github/workflows/lint-test-build.yml index 14d791ed..dd33a080 100644 --- a/.github/workflows/lint-test-build.yml +++ b/.github/workflows/lint-test-build.yml @@ -27,8 +27,13 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'pnpm' - - name: Install - run: pnpm install + - uses: pnpm/action-setup@v2 + name: Install + with: + version: 8 + run_install: | + - recursive: false + args: [--frozen-lockfile, --strict-peer-dependencies] - name: Lint run: pnpm lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ea3d18c..e9414237 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,13 +22,18 @@ jobs: - name: ⚙️ Setup Node.js v16 uses: actions/setup-node@v2 with: - node-version: '16.x' + node-version: '18.x' registry-url: 'https://registry.npmjs.org' scope: '@erc725' cache: 'pnpm' - - name: 🧰 Install - run: pnpm install + - uses: pnpm/action-setup@v2 + name: Install + with: + version: 8 + run_install: | + - recursive: false + args: [--frozen-lockfile, --strict-peer-dependencies] - name: 💅 Lint run: pnpm lint