Skip to content

Commit 151f576

Browse files
committed
chore: update Node version and skip husky scripts in GitHub Actions
Ensure GitHub Actions run on Node 22 and avoid executing husky hooks in CI.
1 parent 113e776 commit 151f576

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/e2e.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 22
1417

1518
- name: Generate stats card
1619
uses: ./

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424
using: composite
2525
steps:
2626
- name: Install dependencies
27-
run: npm ci --omit=dev
27+
run: npm ci --omit=dev --ignore-scripts
2828
shell: bash
2929
working-directory: ${{ github.action_path }}
3030
- name: Generate card

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"*.{js,json,md,yml,yaml}": "prettier --write"
2525
},
2626
"engines": {
27-
"node": ">=20"
27+
"node": ">=22"
2828
},
2929
"license": "MIT"
3030
}

0 commit comments

Comments
 (0)