Skip to content

Commit

Permalink
ci: remove double node installation
Browse files Browse the repository at this point in the history
  • Loading branch information
vscav committed Jun 5, 2023
1 parent 9e4d534 commit fbd840e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fbd840e

Please sign in to comment.