File tree 5 files changed +15
-9
lines changed 5 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 4
4
using : composite
5
5
steps :
6
6
- name : Download dist folder
7
- uses : actions/download-artifact@v3
7
+ uses : actions/download-artifact@v4
8
8
with :
9
9
name : library-dist-${{ github.sha }}
10
10
path : dist
Original file line number Diff line number Diff line change 4
4
using : composite
5
5
steps :
6
6
- name : Download coverage report
7
- uses : actions/download-artifact@v3
7
+ uses : actions/download-artifact@v4
8
8
with :
9
9
name : ngx-deploy-npm-coverage-report-${{ github.sha }}
10
10
path : coverage/packages/ngx-deploy-npm
Original file line number Diff line number Diff line change 4
4
using : composite
5
5
steps :
6
6
- name : Download lint report
7
- uses : actions/download-artifact@v3
7
+ uses : actions/download-artifact@v4
8
8
with :
9
9
name : lint-report-${{ github.sha }}
10
10
path : reports
Original file line number Diff line number Diff line change 16
16
run : npx nx lint-report ngx-deploy-npm
17
17
18
18
- name : Archive lint report results
19
- uses : actions/upload-artifact@v3
19
+ uses : actions/upload-artifact@v4
20
20
with :
21
21
name : lint-report-${{ github.sha }}
22
22
path : reports
30
30
- run : npx nx build ngx-deploy-npm
31
31
32
32
- name : Archive build result
33
- uses : actions/upload-artifact@v3
33
+ uses : actions/upload-artifact@v4
34
34
with :
35
35
name : library-dist-${{ github.sha }}
36
36
path : dist
49
49
50
50
- run : npx nx test ngx-deploy-npm --configuration="ci"
51
51
52
- - if : ${{ matrix.os == 'ubuntu-latest' }}
52
+ - name : Set Node.js version based on .nvmrc
53
+ shell : bash
54
+ run : |
55
+ version=$(cat .nvmrc)
56
+ echo "Setting default value for node-version parameter: $version"
57
+ echo "NODE_VERSION=$version" >> $GITHUB_ENV
58
+ echo "$NODE_VERSION"
59
+
60
+ - if : ${{ matrix.os == 'ubuntu-latest' && matrix.node-version == env.NODE_VERSION }}
53
61
name : Archive coverage report
54
- uses : actions/upload-artifact@v3
62
+ uses : actions/upload-artifact@v4
55
63
with :
56
64
name : ngx-deploy-npm-coverage-report-${{ github.sha }}
57
65
path : coverage/packages/ngx-deploy-npm/lcov.info
Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
test :
9
- if : ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
10
9
uses : ./.github/workflows/basic-test.yml
11
10
12
11
e2e-test :
13
- if : ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
14
12
uses : ./.github/workflows/e2e-test.yml
15
13
16
14
backwards-compatibility-test :
You can’t perform that action at this time.
0 commit comments