Skip to content

Commit a739b78

Browse files
authored
build(deps): Upgrade runtime from node16 to node20 (#39)
* Update action.yml * Update dependabot.yml * Update test.yml * Repackage with Node 20
1 parent 434eb6c commit a739b78

File tree

6 files changed

+66
-56
lines changed

6 files changed

+66
-56
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
version: 2
77
updates:
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"
812
- package-ecosystem: "npm"
913
directory: "/"
1014
schedule:

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,20 @@ jobs:
99
build: # make sure build/ci work properly
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: '20.x'
1316
- run: |
1417
npm install
1518
npm run all
1619
test: # make sure the action works on a clean machine without building
1720
runs-on: ubuntu-latest
1821
steps:
19-
- uses: actions/checkout@v1
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-node@v3
24+
with:
25+
node-version: '20.x'
2026
- uses: ./
2127
with:
2228
sqlc-version: '1.18.0'

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ branding:
99
icon: 'terminal'
1010
color: 'purple'
1111
runs:
12-
using: 'node16'
12+
using: 'node20'
1313
main: 'dist/index.js'

dist/index.js

Lines changed: 51 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/sourcemap-register.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)