Skip to content

Commit 588edef

Browse files
committed
Merge remote-tracking branch 'makenew/public' into node-20
2 parents 00c9415 + 07a74d7 commit 588edef

File tree

16 files changed

+397
-335
lines changed

16 files changed

+397
-335
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="18"
1+
ARG VARIANT="20"
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": "18"
6+
"VARIANT": "20"
77
}
88
},
99
"extensions": [

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
],
2121
"import/extensions": ["error", "ignorePackages"],
2222
"import/no-duplicates": ["error", { "prefer-inline": true }],
23+
"import/no-relative-parent-imports": "error",
2324
"simple-import-sort/imports": [
2425
"error",
2526
{

.github/actions/setup/action.yml

Lines changed: 3 additions & 3 deletions
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: '18'
9+
default: '20'
1010
registry_url:
1111
description: The Node.js package registry URL.
1212
required: false
@@ -20,14 +20,14 @@ runs:
2020
using: composite
2121
steps:
2222
- name: Setup Node.js
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
if: inputs.install_dependencies == 'true'
2525
with:
2626
cache: npm
2727
node-version: ${{ inputs.node_version }}
2828
registry-url: ${{ inputs.registry_url }}
2929
- name: Setup Node.js without cache
30-
uses: actions/setup-node@v3
30+
uses: actions/setup-node@v4
3131
if: inputs.install_dependencies == 'false'
3232
with:
3333
node-version: ${{ inputs.node_version }}

.github/workflows/_build.yml

Lines changed: 2 additions & 2 deletions
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: '18'
11+
default: '20'
1212
outputs:
1313
artifact_name:
1414
description: The artifact name.
@@ -21,7 +21,7 @@ jobs:
2121
timeout-minutes: 30
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
- name: Setup
2626
uses: ./.github/actions/setup
2727
with:

.github/workflows/_publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
timeout-minutes: 30
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
- name: Setup
2929
uses: ./.github/actions/setup
3030
with:
@@ -38,7 +38,7 @@ jobs:
3838
id: meta
3939
run: echo "tgz=$(ls *.tgz | head -n1)" >> $GITHUB_OUTPUT
4040
- name: Publish
41-
uses: JS-DevTools/npm-publish@v2
41+
uses: JS-DevTools/npm-publish@v3
4242
with:
4343
access: public
4444
token: ${{ secrets.registry_token }}

.github/workflows/check.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
node:
21-
- '16'
2221
- '18'
22+
- '20'
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
- name: Setup
2727
uses: ./.github/actions/setup
2828
with:
@@ -43,14 +43,14 @@ jobs:
4343
os:
4444
- ubuntu-latest
4545
node:
46-
- '16'
4746
- '18'
47+
- '20'
4848
include:
4949
- os: ubuntu-latest
5050
os_name: Linux
5151
steps:
5252
- name: Setup Node.js
53-
uses: actions/setup-node@v3
53+
uses: actions/setup-node@v4
5454
with:
5555
node-version: ${{ matrix.node }}
5656
- name: Download artifact
@@ -59,7 +59,7 @@ jobs:
5959
name: ${{ needs.build.outputs.artifact_name }}
6060
path: .
6161
- name: Find packages
62-
uses: tj-actions/glob@v16
62+
uses: tj-actions/glob@v17
6363
id: packages
6464
with:
6565
files: '*.tgz'
@@ -91,11 +91,11 @@ jobs:
9191
fail-fast: false
9292
matrix:
9393
node:
94-
- '16'
9594
- '18'
95+
- '20'
9696
steps:
9797
- name: Checkout
98-
uses: actions/checkout@v3
98+
uses: actions/checkout@v4
9999
- name: Setup
100100
uses: ./.github/actions/setup
101101
with:

.github/workflows/format.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
timeout-minutes: 30
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
ref: ${{ github.head_ref }}
2020
token: ${{ secrets.GH_TOKEN }}
2121
- name: Import GPG key
22-
uses: crazy-max/ghaction-import-gpg@v5
22+
uses: crazy-max/ghaction-import-gpg@v6
2323
with:
2424
git_user_signingkey: true
2525
git_commit_gpgsign: true
@@ -32,7 +32,7 @@ jobs:
3232
- name: Format
3333
run: npm run format
3434
- name: Commit
35-
uses: stefanzweifel/git-auto-commit-action@v4
35+
uses: stefanzweifel/git-auto-commit-action@v5
3636
if: always()
3737
with:
3838
commit_message: 'ci: Format code'

.github/workflows/generate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
timeout-minutes: 30
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
ref: ${{ github.head_ref }}
2020
token: ${{ secrets.GH_TOKEN }}
2121
- name: Import GPG key
22-
uses: crazy-max/ghaction-import-gpg@v5
22+
uses: crazy-max/ghaction-import-gpg@v6
2323
with:
2424
git_user_signingkey: true
2525
git_commit_gpgsign: true
@@ -34,7 +34,7 @@ jobs:
3434
- name: Normalize package-lock.json
3535
run: npm install
3636
- name: Commit
37-
uses: stefanzweifel/git-auto-commit-action@v4
37+
uses: stefanzweifel/git-auto-commit-action@v5
3838
with:
3939
commit_message: 'ci: Generate code'
4040
commit_user_name: ${{ secrets.GIT_USER_NAME }}

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
needs: build
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0
2525
- name: Download artifact

0 commit comments

Comments
 (0)