Skip to content

Commit

Permalink
ci: set node version to LTS
Browse files Browse the repository at this point in the history
There are some problems with the latest version.

See: https://github.com/cotes2020/jekyll-theme-chirpy/actions/runs/9977150040
  • Loading branch information
cotes2020 committed Jul 17, 2024
1 parent 979f86c commit b641b36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: latest
node-version: lts/*

- run: npm install
- run: npx semantic-release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest
node-version: lts/*

- name: Build Assets
run: npm i && npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest
node-version: lts/*
- run: npm i
- run: npm test

0 comments on commit b641b36

Please sign in to comment.