Skip to content

Commit

Permalink
Updated to use Node20 (#24)
Browse files Browse the repository at this point in the history
* Updated to Node20

* Updated to use checkout@v4 and setup-node@v4

* Updated workflows to node-version '20.x'
  • Loading branch information
BhavyeMathur authored Dec 19, 2024
1 parent 8b81150 commit be6fb6d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
name: Run linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '12.x'
node-version: '20.x'
- run: npm install
- run: npm run lint
6 changes: 3 additions & 3 deletions .github/workflows/update-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
name: Update dist file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '12.x'
node-version: '20.x'
- run: npm install
- run: npm run dist
- uses: ./
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
name: Update resources
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- uses: actions/setup-node@v1
- uses: actions/setup-node@v4

- name: Fetch resources
run: ./scripts/fetch-resources.sh
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ inputs:
required: false

runs:
using: node16
using: node20
main: dist/index.js
branding:
icon: git-commit
Expand Down

0 comments on commit be6fb6d

Please sign in to comment.