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:
Cotes Chung 2024-07-18 01:20:17 +08:00
parent 979f86cf64
commit b641b36480
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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