Skip to content

Commit 5e40297

Browse files
committed
Merge remote-tracking branch 'makenew/public' into node-v20
2 parents 0aaa2fd + e047444 commit 5e40297

18 files changed

+6173
-6762
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT="20"
1+
ARG VARIANT="22"
22

33
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}
44

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"build": {
44
"dockerfile": "Dockerfile",
55
"args": {
6-
"VARIANT": "20"
6+
"VARIANT": "22"
77
}
88
},
99
"extensions": [

.eslintrc.json

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
node_version:
77
description: The Node.js version.
88
required: false
9-
default: '20'
9+
default: '22'
1010
registry_url:
1111
description: The Node.js package registry URL.
1212
required: false

.github/workflows/_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
description: The Node.js version.
99
type: string
1010
required: false
11-
default: '20'
11+
default: '22'
1212
outputs:
1313
artifact_name:
1414
description: The artifact name.

.github/workflows/check.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
os:
2121
- ubuntu-latest
2222
node:
23-
- '18'
2423
- '20'
24+
- '22'
2525
include:
2626
- os: ubuntu-latest
2727
os_name: Linux
@@ -42,8 +42,8 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node:
45-
- '18'
4645
- '20'
46+
- '22'
4747
steps:
4848
- name: Checkout
4949
uses: actions/checkout@v4
@@ -67,8 +67,8 @@ jobs:
6767
os:
6868
- ubuntu-latest
6969
node:
70-
- '18'
7170
- '20'
71+
- '22'
7272
include:
7373
- os: ubuntu-latest
7474
os_name: Linux
@@ -83,19 +83,19 @@ jobs:
8383
name: ${{ needs.build.outputs.artifact_name }}
8484
path: .
8585
- name: Find packages
86-
uses: tj-actions/glob@v17
86+
uses: tj-actions/glob@v22
8787
id: packages
8888
with:
8989
files: '*.tgz'
9090
- name: Create package.json
91-
uses: DamianReeves/write-file-action@v1.2
91+
uses: DamianReeves/write-file-action@v1.3
9292
with:
9393
write-mode: overwrite
9494
path: package.json
9595
contents: |
9696
{"type":"module"}
9797
- name: Create index.js
98-
uses: DamianReeves/write-file-action@v1.2
98+
uses: DamianReeves/write-file-action@v1.3
9999
with:
100100
write-mode: overwrite
101101
path: index.js
@@ -113,8 +113,8 @@ jobs:
113113
fail-fast: false
114114
matrix:
115115
node:
116-
- '18'
117116
- '20'
117+
- '22'
118118
steps:
119119
- name: Checkout
120120
uses: actions/checkout@v4

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Format
3333
run: npm run format
3434
- name: Commit
35-
uses: stefanzweifel/git-auto-commit-action@v5
35+
uses: stefanzweifel/git-auto-commit-action@v6
3636
if: always()
3737
with:
3838
commit_message: 'ci: Format code'

.github/workflows/generate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Normalize package-lock.json
3939
run: npm install
4040
- name: Commit
41-
uses: stefanzweifel/git-auto-commit-action@v5
41+
uses: stefanzweifel/git-auto-commit-action@v6
4242
with:
4343
commit_message: 'ci: Generate code'
4444
commit_user_name: ${{ secrets.GIT_USER_NAME }}

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
mkdir tmp
3434
outfile=tmp/changelog.txt
3535
echo "outfile=${outfile}" >> $GITHUB_OUTPUT
36-
npx standard-changelog@^2.0.0 --release-count 2 --infile $outfile.tmp --outfile $outfile.tmp
36+
npx standard-changelog@^5.0.0 --release-count 2 --infile $outfile.tmp --outfile $outfile.tmp
3737
sed '1,3d' $outfile.tmp > $outfile
3838
- name: Create GitHub release
39-
uses: softprops/action-gh-release@v1
39+
uses: softprops/action-gh-release@v2
4040
with:
4141
token: ${{ secrets.GH_TOKEN }}
4242
fail_on_unmatched_files: true

.github/workflows/semantic-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ run-name: Semantic Release from ${{ github.ref_name }}
66
on:
77
push:
88
branches:
9-
- '**'
9+
- 'main'
10+
- 'next'
11+
- 'next-major'
12+
- 'beta'
13+
- 'alpha'
14+
- '*.x'
1015

1116
concurrency:
1217
group: ${{ github.workflow }}-${{ github.ref_name }}

0 commit comments

Comments
 (0)