Skip to content

Commit

Permalink
build(deps): Upgrade runtime from node16 to node20 (#39)
Browse files Browse the repository at this point in the history
* Update action.yml

* Update dependabot.yml

* Update test.yml

* Repackage with Node 20
  • Loading branch information
kyleconroy authored Sep 6, 2023
1 parent 434eb6c commit a739b78
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 56 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "npm"
directory: "/"
schedule:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,20 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: |
npm install
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- uses: ./
with:
sqlc-version: '1.18.0'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ branding:
icon: 'terminal'
color: 'purple'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
102 changes: 51 additions & 51 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sourcemap-register.js

Large diffs are not rendered by default.

0 comments on commit a739b78

Please sign in to comment.