Skip to content

Commit 239e7b1

Browse files
Use an org variable to determine nodejs version for tests
1 parent 8fb4f84 commit 239e7b1

1 file changed

Lines changed: 18 additions & 14 deletions

File tree

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
1-
# Workflow intended to test PRs
1+
# Workflow intended to test PRs
22

3-
name: CI - Test
3+
name: CI - Test
44

5-
on:
5+
on:
66
pull_request:
7-
7+
88
jobs:
99
tests:
10-
runs-on: ubuntu-latest
11-
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [14.x, '${{ env.NODE_VERSION }}' ]
15+
1216
steps:
13-
- uses: actions/checkout@v3
14-
- name: Setup Node.js
15-
uses: actions/setup-node@v3
17+
- uses: actions/checkout@v5
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v6
1620
with:
17-
node-version: '14'
18-
- name: Install Dependencies
19-
run: npm install
20-
- name: Test
21-
run: npm run test
21+
node-version: ${{ matrix.node-version }}
22+
- name: Install Dependencies
23+
run: npm install
24+
- name: Test
25+
run: npm run test

0 commit comments

Comments
 (0)