File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,16 @@ jobs:
14
14
needs : lint-and-test
15
15
16
16
runs-on : ubuntu-latest
17
- env :
18
- node-version : 18
19
17
20
18
steps :
21
19
- name : Checkout project
22
20
uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
23
21
with :
24
22
persist-credentials : false
25
- - name : Use Node.js ${{ env.node-version }}
23
+ - name : Use Node.js
26
24
uses : actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
27
25
with :
28
- node-version : ${{ env.node-version }}
26
+ node-version : ' lts/* '
29
27
- name : Install packages
30
28
run : npm ci
31
29
- name : Run Semantic Release
Original file line number Diff line number Diff line change @@ -11,24 +11,23 @@ jobs:
11
11
runs-on : ${{ matrix.os }}
12
12
strategy :
13
13
matrix :
14
- node-version : [16, 18, 20]
15
14
os : [ubuntu-latest, windows-latest, macos-latest]
16
15
17
16
steps :
18
17
- name : Checkout project
19
18
uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
20
- - name : Use Node.js ${{ matrix.node-version }}
19
+ - name : Use Node.js
21
20
uses : actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
22
21
with :
23
- node-version : ${{ matrix.node-version }}
22
+ node-version : ' lts/* '
24
23
- name : Install packages
25
24
run : npm ci
26
25
- name : Check codestyle compliance
27
26
run : npm run lint
28
27
- name : Run tests
29
28
run : npm run test
30
29
- name : Upload coverage reports to Codecov
31
- if : ${{ ( matrix.os == 'ubuntu-latest') && (matrix.node-version == 20) }}
30
+ if : ${{ matrix.os == 'ubuntu-latest' }}
32
31
uses : codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3
33
32
with :
34
33
token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments