Skip to content

Commit 07a74d7

Browse files
committed
Merge branch 'main' into public
2 parents 479a964 + 2887311 commit 07a74d7

17 files changed

+1470
-899
lines changed

.devcontainer/Dockerfile

+1-1
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

+1-1
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": [

.github/actions/setup/action.yml

+3-3
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

+2-2
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

+2-2
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

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
os:
2121
- ubuntu-latest
2222
node:
23-
- '16'
2423
- '18'
24+
- '20'
2525
include:
2626
- os: ubuntu-latest
2727
os_name: Linux
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
- name: Setup
3232
uses: ./.github/actions/setup
3333
with:
@@ -42,11 +42,11 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node:
45-
- '16'
4645
- '18'
46+
- '20'
4747
steps:
4848
- name: Checkout
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050
- name: Setup
5151
uses: ./.github/actions/setup
5252
with:
@@ -67,14 +67,14 @@ jobs:
6767
os:
6868
- ubuntu-latest
6969
node:
70-
- '16'
7170
- '18'
71+
- '20'
7272
include:
7373
- os: ubuntu-latest
7474
os_name: Linux
7575
steps:
7676
- name: Setup Node.js
77-
uses: actions/setup-node@v3
77+
uses: actions/setup-node@v4
7878
with:
7979
node-version: ${{ matrix.node }}
8080
- name: Download artifact
@@ -83,7 +83,7 @@ jobs:
8383
name: ${{ needs.build.outputs.artifact_name }}
8484
path: .
8585
- name: Find packages
86-
uses: tj-actions/glob@v16
86+
uses: tj-actions/glob@v17
8787
id: packages
8888
with:
8989
files: '*.tgz'
@@ -113,11 +113,11 @@ jobs:
113113
fail-fast: false
114114
matrix:
115115
node:
116-
- '16'
117116
- '18'
117+
- '20'
118118
steps:
119119
- name: Checkout
120-
uses: actions/checkout@v3
120+
uses: actions/checkout@v4
121121
- name: Setup
122122
uses: ./.github/actions/setup
123123
with:

.github/workflows/format.yml

+3-3
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

+3-3
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/makenew.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ jobs:
4242
needs: repository
4343
steps:
4444
- name: Checkout
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646
with:
4747
fetch-depth: 0
4848
token: ${{ secrets.GH_TOKEN }}
4949
- name: Import GPG key
50-
uses: crazy-max/ghaction-import-gpg@v5
50+
uses: crazy-max/ghaction-import-gpg@v6
5151
with:
5252
git_user_signingkey: true
5353
git_commit_gpgsign: true
@@ -71,7 +71,7 @@ jobs:
7171
env:
7272
ORIGIN: https://github.com/seamapi/${{ github.event.inputs.repo }}.git
7373
- name: Commit
74-
uses: stefanzweifel/git-auto-commit-action@v4
74+
uses: stefanzweifel/git-auto-commit-action@v5
7575
with:
7676
branch: main
7777
skip_fetch: true

.github/workflows/publish.yml

+1-1
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

.github/workflows/semantic-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
new_release_version: ${{ steps.release.outputs.new_release_version }}
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
2828
- name: Semantic release
@@ -38,7 +38,7 @@ jobs:
3838
if: ${{ needs.semantic.outputs.new_release_published == 'true' }}
3939
steps:
4040
- name: Checkout
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242
with:
4343
fetch-depth: 1
4444
- name: Release version ${{ steps.release.outputs.new_release_version }} on ${{ github.ref_name }}

.github/workflows/version.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
timeout-minutes: 30
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
token: ${{ secrets.GH_TOKEN }}
2323
- name: Import GPG key
24-
uses: crazy-max/ghaction-import-gpg@v5
24+
uses: crazy-max/ghaction-import-gpg@v6
2525
with:
2626
git_user_signingkey: true
2727
git_commit_gpgsign: true

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/hydrogen
1+
20

ava.config.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
export default () => {
22
return {
3-
ignoredByWatcher: ['tmp/**/*'],
43
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/**/*'],
86
},
97
extensions: {
10-
ts: 'module',
8+
ts: 'commonjs',
119
},
12-
nodeArguments: ['--loader=tsx'],
10+
nodeArguments: ['--import=tsx'],
1311
}
1412
}

0 commit comments

Comments
 (0)