Skip to content

Commit 0d48270

Browse files
Update node-18-test.yml
1 parent 036f03f commit 0d48270

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

.github/workflows/node-18-test.yml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1-
name: Node-18-test
1+
name: MirrorUrl-1240PR
22

33
on:
44
workflow_dispatch:
5-
6-
jobs:
75

8-
node-18-test:
9-
runs-on: ubuntu-latest
6+
jobs:
7+
setup-node:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest, windows-latest, macos-13, ubuntu-24.04-arm]
1012
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions/setup-node@v4
13-
with:
14-
node-version: '20'
15-
16-
- run: npm ci
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Node.js with mirrorURL
17+
uses: marco-ippolito/setup-node@mirror
18+
with:
19+
node-version: '21'
20+
mirror: ' '
21+
mirror-token: ${{secrets.GITHUB_TOKEN}}
22+
- name: Verify Node.js installation
23+
run: node -v

0 commit comments

Comments
 (0)