Skip to content

Commit

Permalink
feat(ci)!: bump node js version to 20 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Jan 25, 2024
1 parent 4034def commit 81a0645
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
push-changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ssh-key: "${{ secrets.COMMIT_KEY }}"
- name: Install Javascript dependencies with npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
update-branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: "${{ env.release }}"
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
tag-example-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Javascript dependencies via npm
if: ${{ github.ref != 'refs/heads/release' }}
run: npm install
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ jobs:
test-unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- name: Execute unit tests
run: npm run test
2 changes: 1 addition & 1 deletion .github/workflows/validate-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
validate-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ssh-key: "${{ secrets.COMMIT_KEY }}"
- name: Test that the tagged commit includes `dist`
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
description: "New-line separated list of new tags"
required: true
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
branding:
icon: "tag"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"style": "npm run format && npm run lint"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"keywords": [
"actions",
Expand Down

0 comments on commit 81a0645

Please sign in to comment.