Skip to content

Commit 147dd11

Browse files
committed
cicd: use asdf-vm for tooling
1 parent 9fbc98c commit 147dd11

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,7 @@ jobs:
3535
run: |
3636
git config --global user.name ${{ secrets.ACTION_GITHUB_USERNAME }};
3737
git config --global user.email ${{ secrets.ACTION_GITHUB_EMAIL }};
38-
- uses: pnpm/action-setup@v3
39-
with:
40-
version: 9
41-
- name: Setup node
42-
uses: actions/setup-node@v4
43-
with:
44-
node-version: lts/*
45-
registry-url: https://registry.npmjs.org
46-
cache: pnpm
38+
- uses: asdf-vm/actions/install@v3
4739
- run: pnpm i --frozen-lockfile
4840
- name: Get @swc/core version
4941
id: swc_version

.github/workflows/test.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,7 @@ jobs:
2323
git config --system core.autocrlf false
2424
git config --system core.eol lf
2525
- uses: actions/checkout@v4
26-
- uses: pnpm/action-setup@v3
27-
with:
28-
version: 9
29-
- name: Setup node
30-
uses: actions/setup-node@v4
31-
with:
32-
node-version: 18
33-
cache: pnpm
26+
- uses: asdf-vm/actions/install@v3
3427
- run: pnpm i --frozen-lockfile
3528
- name: Configure rustup
3629
run: |

.tool-versions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nodejs 20.18.0
2+
pnpm 9.12.3

0 commit comments

Comments
 (0)