File tree 2 files changed +11
-11
lines changed
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 11
11
should-skip-job : ${{steps.skip-check.outputs.should_skip}}
12
12
steps :
13
13
- id : skip-check
14
- uses : fkirc/skip-duplicate-actions@v2.1 .0
14
+ uses : fkirc/skip-duplicate-actions@v5.3 .0
15
15
with :
16
16
github_token : ${{github.token}}
17
17
@@ -30,10 +30,10 @@ jobs:
30
30
runs-on : ${{matrix.os}}
31
31
steps :
32
32
- name : checkout code
33
- uses : actions/checkout@v2
33
+ uses : actions/checkout@v3
34
34
35
35
- name : read node version from .nvmrc
36
- run : echo ::set-output name= NVMRC:: $(cat .nvmrc)
36
+ run : echo " NVMRC= $(cat .nvmrc)" >> $GITHUB_OUTPUT
37
37
shell : bash
38
38
id : nvm
39
39
47
47
run : pulseaudio -D
48
48
49
49
- name : setup node
50
- uses : actions/setup-node@v2
50
+ uses : actions/setup-node@v3
51
51
with :
52
52
node-version : ' ${{steps.nvm.outputs.NVMRC}}'
53
53
cache : npm
@@ -61,12 +61,12 @@ jobs:
61
61
run : npm i --prefer-offline --no-audit
62
62
63
63
- name : run npm test
64
- uses : GabrielBB/xvfb-action @v1
64
+ uses : coactions/setup-xvfb @v1
65
65
with :
66
66
run : npm run test
67
67
68
68
- name : coverage
69
- uses : codecov/codecov-action@v1
69
+ uses : codecov/codecov-action@v3
70
70
with :
71
71
token : ${{secrets.CODECOV_TOKEN}}
72
72
files : ' ./test/dist/coverage/coverage-final.json'
Original file line number Diff line number Diff line change @@ -14,19 +14,19 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : Checkout
17
- uses : actions/checkout@v2
17
+ uses : actions/checkout@v3
18
18
# We neeed to fetch the entire history as conventional-changelog needs
19
19
# access to any number of git commits to build the changelog.
20
20
with :
21
21
fetch-depth : 0
22
22
23
23
- name : read node version from .nvmrc
24
- run : echo ::set-output name= NVMRC:: $(cat .nvmrc)
24
+ run : echo " NVMRC= $(cat .nvmrc)" >> $GITHUB_OUTPUT
25
25
shell : bash
26
26
id : nvm
27
27
28
28
- name : setup node
29
- uses : actions/setup-node@v2
29
+ uses : actions/setup-node@v3
30
30
with :
31
31
node-version : ' ${{steps.nvm.outputs.NVMRC}}'
32
32
cache : npm
43
43
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
44
44
45
45
- name : Check if this is a pre-release
46
- run : echo ::set-output name= IS_PRE_RELEASE:: $(npx -p not-prerelease is-prerelease && echo "true" || echo "false")
46
+ run : echo " IS_PRE_RELEASE= $(npx -p not-prerelease is-prerelease && echo "true" || echo "false")" >> $GITHUB_OUTPUT
47
47
id : pre-release-check
48
48
49
49
- name : truncate CHANGELOG.md so that we can get the current versions changes only
53
53
run : npx -p @videojs/update-changelog vjs-update-changelog --run-on-prerelease
54
54
55
55
- name : get dashed package version for netlify
56
- run : echo ::set-output name= VERSION:: $(node -e "process.stdout.write(require('./package.json').version.split('.').join('-'))")
56
+ run : echo " VERSION= $(node -e "process.stdout.write(require('./package.json').version.split('.').join('-'))")" >> $GITHUB_OUTPUT
57
57
id : get-version
58
58
shell : bash
59
59
if : env.NETLIFY_BASE != ''
You can’t perform that action at this time.
0 commit comments