File tree Expand file tree Collapse file tree 18 files changed +139
-1211
lines changed Expand file tree Collapse file tree 18 files changed +139
-1211
lines changed Original file line number Diff line number Diff line change 1
- ARG VARIANT="18 "
1
+ ARG VARIANT="20 "
2
2
3
3
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}
4
4
Original file line number Diff line number Diff line change 3
3
"build" : {
4
4
"dockerfile" : " Dockerfile" ,
5
5
"args" : {
6
- "VARIANT" : " 18 "
6
+ "VARIANT" : " 20 "
7
7
}
8
8
},
9
9
"hostRequirements" : {
Original file line number Diff line number Diff line change 6
6
node_version :
7
7
description : The Node.js version.
8
8
required : false
9
- default : ' 18 '
9
+ default : ' 20 '
10
10
registry_url :
11
11
description : The Node.js package registry URL.
12
12
required : false
@@ -20,14 +20,14 @@ runs:
20
20
using : composite
21
21
steps :
22
22
- name : Setup Node.js
23
- uses : actions/setup-node@v3
23
+ uses : actions/setup-node@v4
24
24
if : inputs.install_dependencies == 'true'
25
25
with :
26
26
cache : npm
27
27
node-version : ${{ inputs.node_version }}
28
28
registry-url : ${{ inputs.registry_url }}
29
29
- name : Setup Node.js without cache
30
- uses : actions/setup-node@v3
30
+ uses : actions/setup-node@v4
31
31
if : inputs.install_dependencies == 'false'
32
32
with :
33
33
node-version : ${{ inputs.node_version }}
Original file line number Diff line number Diff line change 8
8
description : The Node.js version.
9
9
type : string
10
10
required : false
11
- default : ' 18 '
11
+ default : ' 20 '
12
12
outputs :
13
13
artifact_name :
14
14
description : The artifact name.
21
21
timeout-minutes : 30
22
22
steps :
23
23
- name : Checkout
24
- uses : actions/checkout@v3
24
+ uses : actions/checkout@v4
25
25
- name : Setup
26
26
uses : ./.github/actions/setup
27
27
with :
31
31
- name : Package
32
32
run : npm pack
33
33
- name : Upload artifact
34
- uses : actions/upload-artifact@v3
34
+ uses : actions/upload-artifact@v4
35
35
with :
36
36
name : build-${{ github.sha }}
37
37
if-no-files-found : error
Original file line number Diff line number Diff line change @@ -24,23 +24,23 @@ jobs:
24
24
timeout-minutes : 30
25
25
steps :
26
26
- name : Checkout
27
- uses : actions/checkout@v3
27
+ uses : actions/checkout@v4
28
28
- name : Setup
29
29
uses : ./.github/actions/setup
30
30
with :
31
31
install_dependencies : ' false'
32
32
- name : Download artifact
33
- uses : actions/download-artifact@v3
33
+ uses : actions/download-artifact@v4
34
34
with :
35
35
name : ${{ inputs.artifact_name }}
36
36
path : .
37
37
- name : Get meta
38
38
id : meta
39
39
run : echo "tgz=$(ls *.tgz | head -n1)" >> $GITHUB_OUTPUT
40
40
- name : Publish
41
- uses : JS-DevTools/npm-publish@v2
41
+ uses : JS-DevTools/npm-publish@v3
42
42
with :
43
+ access : public
43
44
token : ${{ secrets.registry_token }}
44
45
registry : ${{ inputs.registry_url }}
45
46
package : ${{ steps.meta.outputs.tgz }}
46
- access : public
Original file line number Diff line number Diff line change 27
27
os_name : Linux
28
28
steps :
29
29
- name : Checkout
30
- uses : actions/checkout@v3
30
+ uses : actions/checkout@v4
31
31
- name : Setup
32
32
uses : ./.github/actions/setup
33
33
with :
46
46
- ' 20'
47
47
steps :
48
48
- name : Checkout
49
- uses : actions/checkout@v3
49
+ uses : actions/checkout@v4
50
50
- name : Setup
51
51
uses : ./.github/actions/setup
52
52
with :
@@ -74,16 +74,16 @@ jobs:
74
74
os_name : Linux
75
75
steps :
76
76
- name : Setup Node.js
77
- uses : actions/setup-node@v3
77
+ uses : actions/setup-node@v4
78
78
with :
79
79
node-version : ${{ matrix.node }}
80
80
- name : Download artifact
81
- uses : actions/download-artifact@v3
81
+ uses : actions/download-artifact@v4
82
82
with :
83
83
name : ${{ needs.build.outputs.artifact_name }}
84
84
path : .
85
85
- name : Find packages
86
- uses : tj-actions/glob@v16
86
+ uses : tj-actions/glob@v17
87
87
id : packages
88
88
with :
89
89
files : ' *.tgz'
@@ -117,20 +117,20 @@ jobs:
117
117
- ' 20'
118
118
steps :
119
119
- name : Checkout
120
- uses : actions/checkout@v3
120
+ uses : actions/checkout@v4
121
121
- name : Setup
122
122
uses : ./.github/actions/setup
123
123
with :
124
124
node_version : ${{ matrix.node }}
125
- - name : Check types
125
+ - name : Typecheck
126
126
run : npm run typecheck
127
127
docs :
128
128
name : Docs
129
129
runs-on : ubuntu-latest
130
130
timeout-minutes : 30
131
131
steps :
132
132
- name : Checkout
133
- uses : actions/checkout@v3
133
+ uses : actions/checkout@v4
134
134
- name : Setup
135
135
uses : ./.github/actions/setup
136
136
- name : Build docs
Original file line number Diff line number Diff line change 16
16
timeout-minutes : 30
17
17
steps :
18
18
- name : Checkout
19
- uses : actions/checkout@v3
19
+ uses : actions/checkout@v4
20
20
with :
21
21
fetch-depth : 0
22
22
- name : Setup
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
14
14
timeout-minutes : 30
15
15
steps :
16
16
- name : Checkout
17
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
18
18
with :
19
19
ref : ${{ github.head_ref }}
20
20
token : ${{ secrets.GH_TOKEN }}
21
21
- name : Import GPG key
22
- uses : crazy-max/ghaction-import-gpg@v5
22
+ uses : crazy-max/ghaction-import-gpg@v6
23
23
with :
24
24
git_user_signingkey : true
25
25
git_commit_gpgsign : true
39
39
working-directory : terraform
40
40
run : terraform fmt -write -recursive terraform
41
41
- name : Commit
42
- uses : stefanzweifel/git-auto-commit-action@v4
42
+ uses : stefanzweifel/git-auto-commit-action@v5
43
43
if : always()
44
44
with :
45
45
commit_message : ' ci: Format code'
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
14
14
timeout-minutes : 30
15
15
steps :
16
16
- name : Checkout
17
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
18
18
with :
19
19
ref : ${{ github.head_ref }}
20
20
token : ${{ secrets.GH_TOKEN }}
21
21
- name : Import GPG key
22
- uses : crazy-max/ghaction-import-gpg@v5
22
+ uses : crazy-max/ghaction-import-gpg@v6
23
23
with :
24
24
git_user_signingkey : true
25
25
git_commit_gpgsign : true
36
36
- name : Generate code
37
37
run : npm run generate
38
38
- name : Commit
39
- uses : stefanzweifel/git-auto-commit-action@v4
39
+ uses : stefanzweifel/git-auto-commit-action@v5
40
40
with :
41
41
commit_message : ' ci: Generate code'
42
42
commit_user_name : ${{ secrets.GIT_USER_NAME }}
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ jobs:
19
19
needs : build
20
20
steps :
21
21
- name : Checkout
22
- uses : actions/checkout@v3
22
+ uses : actions/checkout@v4
23
23
with :
24
24
fetch-depth : 0
25
25
- name : Download artifact
26
- uses : actions/download-artifact@v3
26
+ uses : actions/download-artifact@v4
27
27
with :
28
28
name : ${{ needs.build.outputs.artifact_name }}
29
29
path : .
@@ -71,13 +71,13 @@ jobs:
71
71
needs : build
72
72
steps :
73
73
- name : Get version
74
- uses : actions/github-script@v6
74
+ uses : actions/github-script@v7
75
75
id : version
76
76
with :
77
77
result-encoding : string
78
78
script : return context.ref.split('/')[2].slice(1)
79
79
- name : Download artifact
80
- uses : actions/download-artifact@v3
80
+ uses : actions/download-artifact@v4
81
81
with :
82
82
name : ${{ needs.build.outputs.artifact_name }}
83
83
path : .
You can’t perform that action at this time.
0 commit comments