mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-04-19 22:28:06 -06:00
PR-247699: using node LTS on CI/CD
This commit is contained in:
parent
1e17457c5d
commit
6ec54f195a
6
.github/workflows/main-workflow.yml
vendored
6
.github/workflows/main-workflow.yml
vendored
@ -16,10 +16,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js latest
|
||||
- name: Use Node.js lts
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: latest
|
||||
node-version: lts
|
||||
cache: 'npm'
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm ci
|
||||
@ -69,7 +69,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: latest
|
||||
node-version: lts
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
Loading…
Reference in New Issue
Block a user