Skip to content

Commit 1383d95

Browse files
committed
build: update test workflow
1 parent 27048c5 commit 1383d95

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/test.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
build:
1313
runs-on: macOS-latest
1414
steps:
15-
- uses: actions/checkout@master
16-
- name: Use Node.js 14.x
17-
uses: actions/setup-node@v2
15+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag: v4.1.1
16+
- name: Setup Node.js
17+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # tag: v4.0.1
1818
with:
19-
node-version: 14.x
20-
- name: npm install, build, and test
21-
run: |
22-
npm install
23-
npm test
19+
node-version: lts/-1
20+
- name: Install Dependencies
21+
run: npm ci
22+
- name: Run Tests
23+
run: npm test

0 commit comments

Comments
 (0)