feat: update to use node20 (#61)
* feat: update to use node20 Signed-off-by: Rui Chen <rui@chenrui.dev> * chore: bump to use `actions/checkout` v4 (node20 runtime) Signed-off-by: Rui Chen <rui@chenrui.dev> * exclude node_modules * Rebuild --------- Signed-off-by: Rui Chen <rui@chenrui.dev> Co-authored-by: Renée Kooi <renee@kooi.me>
This commit is contained in:
parent
b4d8c3ab02
commit
426edce485
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- uses: EndBug/add-and-commit@v4
|
- uses: EndBug/add-and-commit@v4
|
||||||
with:
|
with:
|
||||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -6,7 +6,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
@ -25,7 +25,7 @@ jobs:
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Install Zig
|
- name: Install Zig
|
||||||
uses: goto-bus-stop/setup-zig@default
|
uses: goto-bus-stop/setup-zig@default
|
||||||
with:
|
with:
|
||||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
node_modules
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
logs
|
logs
|
||||||
*.log
|
*.log
|
||||||
|
|
|
@ -14,5 +14,5 @@ inputs:
|
||||||
required: false
|
required: false
|
||||||
default: 'true'
|
default: 'true'
|
||||||
runs:
|
runs:
|
||||||
using: 'node16'
|
using: 'node20'
|
||||||
main: 'dist/index.js'
|
main: 'dist/index.js'
|
||||||
|
|
2450
dist/index.js
vendored
2450
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
|
@ -31,7 +31,7 @@
|
||||||
"url": "https://github.com/goto-bus-stop/setup-zig.git"
|
"url": "https://github.com/goto-bus-stop/setup-zig.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "esbuild index.js --outdir=dist --keep-names --bundle --platform=node --target=node16",
|
"prepare": "esbuild index.js --outdir=dist --keep-names --bundle --platform=node --target=node20",
|
||||||
"test": "standard && node test"
|
"test": "standard && node test"
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user