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>pull/66/head
parent
b4d8c3ab02
commit
426edce485
|
@ -9,7 +9,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- run: npm install
|
||||
- uses: EndBug/add-and-commit@v4
|
||||
with:
|
||||
|
|
|
@ -6,7 +6,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
- name: Run tests
|
||||
|
@ -25,7 +25,7 @@ jobs:
|
|||
runs-on: ${{matrix.os}}
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Zig
|
||||
uses: goto-bus-stop/setup-zig@default
|
||||
with:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
node_modules
|
||||
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
|
|
|
@ -14,5 +14,5 @@ inputs:
|
|||
required: false
|
||||
default: 'true'
|
||||
runs:
|
||||
using: 'node16'
|
||||
using: 'node20'
|
||||
main: 'dist/index.js'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -31,7 +31,7 @@
|
|||
"url": "https://github.com/goto-bus-stop/setup-zig.git"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"standard": {
|
||||
|
|
Loading…
Reference in New Issue