Skip to content

Commit 2a173bc

Browse files
authored
feat: use node 20 and Upgrade dependencies (#221)
1 parent 93de49b commit 2a173bc

File tree

8 files changed

+3651
-1703
lines changed

8 files changed

+3651
-1703
lines changed

.github/workflows/check-dist.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525

26-
- name: Set Node.js 18.x
27-
uses: actions/setup-node@v3
26+
- name: Set Node.js 20.x
27+
uses: actions/setup-node@v4
2828
with:
29-
node-version: 18
29+
node-version: 20
3030

3131
- name: Install dependencies
3232
run: npm ci
@@ -46,7 +46,7 @@ jobs:
4646
id: diff
4747

4848
# If index.js was different than expected, upload the expected version as an artifact
49-
- uses: actions/upload-artifact@v2
49+
- uses: actions/upload-artifact@v4
5050
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
5151
with:
5252
name: dist

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build: # make sure build/ci work properly
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- uses: dart-lang/setup-dart@v1
1515
- run: |
1616
npm install
@@ -19,7 +19,7 @@ jobs:
1919
test: # make sure the action works on a clean machine without building
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- uses: dart-lang/setup-dart@v1
2424
- uses: ./
2525
with:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ inputs:
2727
description: "The working directory to run the Dart analyzer in (defaults to `./`)."
2828
default: ./
2929
runs:
30-
using: "node16"
30+
using: "node20"
3131
main: "dist/index.js"
3232
branding:
3333
icon: "search"

dist/index.js

Lines changed: 2 additions & 2 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.

0 commit comments

Comments
 (0)