Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit dbd2f9c

Browse files
committed
Updated CI config (test for arch)
1 parent 9f91e08 commit dbd2f9c

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/node.js.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,28 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [master]
99
pull_request:
10-
branches: [ master ]
10+
branches: [master]
1111

1212
jobs:
1313
build:
1414
strategy:
1515
matrix:
1616
platform: [ubuntu-latest, macos-latest, windows-latest]
1717
node-version: [16.x, 17.x]
18+
arch: [ARM64, X64]
1819
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1920

2021
runs-on: ${{ matrix.platform }}
2122

2223
steps:
23-
- uses: actions/checkout@v2
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v2
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
- run: npm ci
30-
- run: npm test
24+
- uses: actions/checkout@v2
25+
- name: Use Node.js ${{ matrix.node-version }} on $RUNNER_ARCH
26+
uses: actions/setup-node@v2
27+
with:
28+
node-version: ${{ matrix.node-version }}
29+
cache: "npm"
30+
- run: echo "Use Node.js ${{ matrix.node-version }} on $RUNNER_ARCH"
31+
- run: npm ci
32+
- run: npm test

0 commit comments

Comments
 (0)