File tree 17 files changed +1470
-899
lines changed
17 files changed +1470
-899
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
"extensions" : [
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 :
Original file line number Diff line number Diff line change 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 :
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
43
access : public
44
44
token : ${{ secrets.registry_token }}
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ jobs:
20
20
os :
21
21
- ubuntu-latest
22
22
node :
23
- - ' 16'
24
23
- ' 18'
24
+ - ' 20'
25
25
include :
26
26
- os : ubuntu-latest
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 :
@@ -42,11 +42,11 @@ jobs:
42
42
fail-fast : false
43
43
matrix :
44
44
node :
45
- - ' 16'
46
45
- ' 18'
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 :
@@ -67,14 +67,14 @@ jobs:
67
67
os :
68
68
- ubuntu-latest
69
69
node :
70
- - ' 16'
71
70
- ' 18'
71
+ - ' 20'
72
72
include :
73
73
- os : ubuntu-latest
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
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'
@@ -113,11 +113,11 @@ jobs:
113
113
fail-fast : false
114
114
matrix :
115
115
node :
116
- - ' 16'
117
116
- ' 18'
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 :
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
32
32
- name : Format
33
33
run : npm run format
34
34
- name : Commit
35
- uses : stefanzweifel/git-auto-commit-action@v4
35
+ uses : stefanzweifel/git-auto-commit-action@v5
36
36
if : always()
37
37
with :
38
38
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
34
34
- name : Normalize package-lock.json
35
35
run : npm install
36
36
- name : Commit
37
- uses : stefanzweifel/git-auto-commit-action@v4
37
+ uses : stefanzweifel/git-auto-commit-action@v5
38
38
with :
39
39
commit_message : ' ci: Generate code'
40
40
commit_user_name : ${{ secrets.GIT_USER_NAME }}
Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ jobs:
42
42
needs : repository
43
43
steps :
44
44
- name : Checkout
45
- uses : actions/checkout@v3
45
+ uses : actions/checkout@v4
46
46
with :
47
47
fetch-depth : 0
48
48
token : ${{ secrets.GH_TOKEN }}
49
49
- name : Import GPG key
50
- uses : crazy-max/ghaction-import-gpg@v5
50
+ uses : crazy-max/ghaction-import-gpg@v6
51
51
with :
52
52
git_user_signingkey : true
53
53
git_commit_gpgsign : true
71
71
env :
72
72
ORIGIN : https://github.com/seamapi/${{ github.event.inputs.repo }}.git
73
73
- name : Commit
74
- uses : stefanzweifel/git-auto-commit-action@v4
74
+ uses : stefanzweifel/git-auto-commit-action@v5
75
75
with :
76
76
branch : main
77
77
skip_fetch : true
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 22
22
new_release_version : ${{ steps.release.outputs.new_release_version }}
23
23
steps :
24
24
- name : Checkout
25
- uses : actions/checkout@v3
25
+ uses : actions/checkout@v4
26
26
with :
27
27
fetch-depth : 0
28
28
- name : Semantic release
38
38
if : ${{ needs.semantic.outputs.new_release_published == 'true' }}
39
39
steps :
40
40
- name : Checkout
41
- uses : actions/checkout@v3
41
+ uses : actions/checkout@v4
42
42
with :
43
43
fetch-depth : 1
44
44
- name : Release version ${{ steps.release.outputs.new_release_version }} on ${{ github.ref_name }}
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 1
- lts/hydrogen
1
+ 20
Original file line number Diff line number Diff line change 1
1
export default ( ) => {
2
2
return {
3
- ignoredByWatcher : [ 'tmp/**/*' ] ,
4
3
files : [ '**/*.test.ts' , '!package/**/*' ] ,
5
- environmentVariables : {
6
- // UPSTREAM: https://nodejs.org/docs/latest-v18.x/api/esm.html#loaders
7
- NODE_NO_WARNINGS : '1' ,
4
+ ignoreChanges : {
5
+ watchMode : [ 'tmp/**/*' ] ,
8
6
} ,
9
7
extensions : {
10
- ts : 'module ' ,
8
+ ts : 'commonjs ' ,
11
9
} ,
12
- nodeArguments : [ '--loader =tsx' ] ,
10
+ nodeArguments : [ '--import =tsx' ] ,
13
11
}
14
12
}
You can’t perform that action at this time.
0 commit comments