File tree 18 files changed +139
-1211
lines changed
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 : .
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ concurrency:
17
17
group : ${{ github.workflow }}-${{ github.ref_name }}
18
18
cancel-in-progress : true
19
19
20
+ concurrency :
21
+ group : ${{ github.workflow }}-${{ github.ref_name }}
22
+ cancel-in-progress : true
23
+
20
24
jobs :
21
25
semantic :
22
26
name : Determine version
27
31
new_release_version : ${{ steps.release.outputs.new_release_version }}
28
32
steps :
29
33
- name : Checkout
30
- uses : actions/checkout@v3
34
+ uses : actions/checkout@v4
31
35
with :
32
36
fetch-depth : 0
33
37
- name : Semantic release
@@ -40,13 +44,13 @@ jobs:
40
44
runs-on : ubuntu-latest
41
45
timeout-minutes : 30
42
46
needs : semantic
43
- if : ${{ needs.semantic.outputs.new_release_published == 'true' }}
47
+ if : needs.semantic.outputs.new_release_published == 'true' && needs.semantic.outputs.new_release_version != '1.0.0'
44
48
steps :
45
49
- name : Checkout
46
- uses : actions/checkout@v3
50
+ uses : actions/checkout@v4
47
51
with :
48
52
fetch-depth : 1
49
- - name : Release version ${{ steps.release .outputs.new_release_version }} on ${{ github.ref_name }}
53
+ - name : Release version ${{ needs.semantic .outputs.new_release_version }} on ${{ github.ref_name }}
50
54
run : gh workflow run version.yml --raw-field version=$VERSION --ref $BRANCH
51
55
env :
52
56
GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
17
17
timeout-minutes : 30
18
18
steps :
19
19
- name : Checkout
20
- uses : actions/checkout@v3
20
+ uses : actions/checkout@v4
21
21
with :
22
22
token : ${{ secrets.GH_TOKEN }}
23
23
- name : Import GPG key
24
- uses : crazy-max/ghaction-import-gpg@v5
24
+ uses : crazy-max/ghaction-import-gpg@v6
25
25
with :
26
26
git_user_signingkey : true
27
27
git_commit_gpgsign : true
Original file line number Diff line number Diff line change @@ -247,3 +247,59 @@ Temporary Items
247
247
248
248
# Built Visual Studio Code Extensions
249
249
* .vsix
250
+
251
+ # Windows
252
+
253
+ # Windows thumbnail cache files
254
+ Thumbs.db
255
+ Thumbs.db:encryptable
256
+ ehthumbs.db
257
+ ehthumbs_vista.db
258
+
259
+ # Dump file
260
+ * .stackdump
261
+
262
+ # Folder config file
263
+ [Dd ]esktop.ini
264
+
265
+ # Recycle Bin used on file shares
266
+ $RECYCLE.BIN /
267
+
268
+ # Windows Installer files
269
+ * .cab
270
+ * .msi
271
+ * .msix
272
+ * .msm
273
+ * .msp
274
+
275
+ # Windows shortcuts
276
+ * .lnk
277
+
278
+ # macOS
279
+
280
+ # General
281
+ .DS_Store
282
+ .AppleDouble
283
+ .LSOverride
284
+
285
+ # Icon must end with two \r
286
+ Icon
287
+
288
+ # Thumbnails
289
+ ._ *
290
+
291
+ # Files that might appear in the root of a volume
292
+ .DocumentRevisions-V100
293
+ .fseventsd
294
+ .Spotlight-V100
295
+ .TemporaryItems
296
+ .Trashes
297
+ .VolumeIcon.icns
298
+ .com.apple.timemachine.donotpresent
299
+
300
+ # Directories potentially created on remote AFP share
301
+ .AppleDB
302
+ .AppleDesktop
303
+ Network Trash Folder
304
+ Temporary Items
305
+ .apdisk
Original file line number Diff line number Diff line change 1
- 18
1
+ 20
You can’t perform that action at this time.
0 commit comments