Skip to content

Commit f1a1191

Browse files
committed
Add npm version
1 parent 14ca05d commit f1a1191

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/publish-github-pages.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ defaults:
1212
run:
1313
shell: bash
1414

15+
env:
16+
node-version: 22
17+
1518
jobs:
1619
build:
1720
runs-on: ubuntu-latest
@@ -20,6 +23,12 @@ jobs:
2023
- name: Checking out for ${{ github.ref }}
2124
uses: actions/checkout@v2
2225

26+
- name: Use Node.js ${{ env.node-version }}
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: ${{ env.node-version }}
30+
cache: npm
31+
2332
# - name: Run npm ci --no-production
2433
# env:
2534
# NODE_ENV: production

0 commit comments

Comments
 (0)