Skip to content

Commit d07c9f1

Browse files
authored
chore: github actions (#1000)
1 parent 540dc3f commit d07c9f1

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/actions/setup/action.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@ description: Install's node, pnpm, restores cache, and then installs dependencie
44
runs:
55
using: 'composite'
66
steps:
7+
# Install nodejs. https://github.com/actions/setup-node
8+
- name: Setup Node.js
9+
uses: actions/setup-node@v4
10+
with:
11+
node-version: 18.x
12+
713
# Install pnpm. https://github.com/pnpm/action-setup
814
- uses: pnpm/action-setup@v4
915
with:
1016
version: 9
1117
# run_install: false
1218

13-
- name: Install Node.js
14-
uses: actions/setup-node@v4
15-
with:
16-
node-version: 20.19.4
17-
cache: "pnpm"
18-
registry-url: "https://registry.npmjs.org"
19-
2019
# Get pnpm store path so we can cache it
2120
- name: Get pnpm store directory
2221
shell: bash
@@ -30,7 +29,7 @@ runs:
3029
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
3130
restore-keys: |
3231
${{ runner.os }}-pnpm-store-
33-
32+
3433
- name: Install dependencies
3534
run: pnpm install
3635
shell: bash

.github/workflows/v2-release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs:
1818

1919
- uses: ./.github/actions/setup
2020

21-
- name: Install dependencies
22-
run: pnpm install
23-
2421
- name: Publish Pre-release to npm
2522
run: pnpm release-v2
2623
env:

0 commit comments

Comments
 (0)