Skip to content

Commit f5f953d

Browse files
XhmikosRnschonni
andauthored
Update test.yml (#3404)
* specify `CI:true` * move Node.js version to an environment variable * remove info which is now printed by actions/setup-node Co-authored-by: Nick Schonning <[email protected]>
1 parent 9e2d49e commit f5f953d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: Tests
2+
23
on:
34
push:
45
branches-ignore:
56
- "translations"
67
- "dependabot/**"
78
pull_request:
89

10+
env:
11+
NODE: 12.x
12+
913
jobs:
1014
test:
1115
runs-on: ubuntu-latest
@@ -17,10 +21,8 @@ jobs:
1721
- name: Set up Node.js
1822
uses: actions/[email protected]
1923
with:
20-
node-version: "12"
24+
node-version: "${{ env.NODE }}"
2125

22-
- run: node --version
23-
- run: npm --version
2426
- run: java -version
2527

2628
- name: Install npm dependencies

0 commit comments

Comments
 (0)