Skip to content

Commit 1aa3db1

Browse files
committedFeb 28, 2023
Update test workflow
1 parent b7d50af commit 1aa3db1

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed
 

‎.github/workflows/test.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@ on: [pull_request]
33
jobs:
44
build:
55
runs-on: ubuntu-latest
6-
strategy:
7-
matrix:
8-
node-version: [14.x]
96
steps:
107
- uses: actions/checkout@v2
11-
- name: Use Node.js ${{ matrix.node-version }}
12-
uses: actions/setup-node@v1
8+
- name: Use Node.js
9+
uses: actions/setup-node@v2
1310
with:
14-
node-version: ${{ matrix.node-version }}
11+
node-version-file: '.nvmrc'
1512
- run: npm i
1613
- run: npm run lint
1714
- run: npm run build

‎.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

0 commit comments

Comments
 (0)
Please sign in to comment.