Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b641b36

Browse files
committed
ci: set node version to LTS
There are some problems with the latest version. See: https://github.com/cotes2020/jekyll-theme-chirpy/actions/runs/9977150040
1 parent 979f86c commit b641b36

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- uses: actions/setup-node@v4
2626
with:
27-
node-version: latest
27+
node-version: lts/*
2828

2929
- run: npm install
3030
- run: npx semantic-release

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Node
3737
uses: actions/setup-node@v4
3838
with:
39-
node-version: latest
39+
node-version: lts/*
4040

4141
- name: Build Assets
4242
run: npm i && npm run build

.github/workflows/style-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
- name: Setup Node
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: latest
21+
node-version: lts/*
2222
- run: npm i
2323
- run: npm test

0 commit comments

Comments
 (0)