Skip to content

Commit 77ec71d

Browse files
committed
ci.yml fix
1 parent c6bfe23 commit 77ec71d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
name: ci
22
on: push
33

4-
env:
5-
NODE_VERSIONS: [16.x, 18.x]
6-
74
jobs:
85
build:
96
name: Build
107
runs-on: self-hosted
118
strategy:
129
matrix:
13-
node-version: ${{ env.NODE_VERSIONS }}
10+
node-version: [16.x, 18.x]
1411
steps:
1512
- name: Checkout sources
1613
uses: actions/checkout@v2
@@ -29,7 +26,7 @@ jobs:
2926
runs-on: self-hosted
3027
strategy:
3128
matrix:
32-
node-version: ${{ env.NODE_VERSIONS }}
29+
node-version: [16.x, 18.x]
3330
steps:
3431
- name: Linting
3532
run: npm run lint
@@ -42,7 +39,7 @@ jobs:
4239
runs-on: self-hosted
4340
strategy:
4441
matrix:
45-
node-version: ${{ env.NODE_VERSIONS }}
42+
node-version: [16.x, 18.x]
4643
steps:
4744
- name: Running unit tests
4845
run: npm run test:unit
@@ -54,7 +51,7 @@ jobs:
5451
strategy:
5552
max-parallel: 1
5653
matrix:
57-
node-version: ${{ env.NODE_VERSIONS }}
54+
node-version: [16.x, 18.x]
5855
steps:
5956
- name: Creating `.env` file
6057
run: |

0 commit comments

Comments
 (0)