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
This commit is contained in:
parent
979f86cf64
commit
b641b36480
3 changed files with 3 additions and 3 deletions
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: latest
|
node-version: lts/*
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npx semantic-release
|
- run: npx semantic-release
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: latest
|
node-version: lts/*
|
||||||
|
|
||||||
- name: Build Assets
|
- name: Build Assets
|
||||||
run: npm i && npm run build
|
run: npm i && npm run build
|
||||||
|
|
2
.github/workflows/style-lint.yml
vendored
2
.github/workflows/style-lint.yml
vendored
|
@ -18,6 +18,6 @@ jobs:
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: latest
|
node-version: lts/*
|
||||||
- run: npm i
|
- run: npm i
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
Loading…
Reference in a new issue