From fbd840e0a0653c66dfe63de3b24332a5a97ad702 Mon Sep 17 00:00:00 2001 From: Vincent Scavinner Date: Mon, 5 Jun 2023 09:52:09 +0200 Subject: [PATCH] ci: remove double node installation --- .github/workflows/lint.yml | 5 +---- .github/workflows/release.yml | 7 ++----- .github/workflows/test.yml | 15 +++------------ 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a001460f..94803752 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,14 +19,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Install Node - uses: actions/setup-node@v3 - with: - node-version: 16.x - name: Install pnpm uses: NullVoxPopuli/action-setup-pnpm@v2 with: pnpm-version: 8.5.1 + node-version: 16.x - name: Install dependencies run: pnpm install --frozen-lockfile - name: Run Lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 979c6123..5a6386ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,15 +13,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Install Node - uses: actions/setup-node@v3 - with: - node-version: 16 - registry-url: "https://registry.npmjs.org" - name: Install pnpm uses: NullVoxPopuli/action-setup-pnpm@v2 with: pnpm-version: 8.5.1 + node-version: 16 + node-registry-url: "https://registry.npmjs.org" - name: Install dependencies run: pnpm install - name: Build addon diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1253422c..db0d2a92 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,14 +20,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Install Node - uses: actions/setup-node@v3 - with: - node-version: 16.x - name: Install pnpm uses: NullVoxPopuli/action-setup-pnpm@v2 with: pnpm-version: 8.5.1 + node-version: 16.x - name: Install dependencies run: pnpm install --frozen-lockfile - name: Test @@ -57,14 +54,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Install Node - uses: actions/setup-node@v3 - with: - node-version: 16.x - name: Install pnpm uses: NullVoxPopuli/action-setup-pnpm@v2 with: pnpm-version: 8.5.1 + node-version: 16.x - name: Install dependencies run: pnpm install --frozen-lockfile - name: Test @@ -81,14 +75,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Install Node - uses: actions/setup-node@v3 - with: - node-version: 16.x - name: Install pnpm uses: NullVoxPopuli/action-setup-pnpm@v2 with: pnpm-version: 8.5.1 + node-version: 16.x no-lockfile: true - name: Install dependencies run: pnpm install --no-lockfile