mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Pinned Node version in CI
- The default Node version on GitHub Actions is moving to Node 14 and we want to keep building it on 12 for now, so this commit pins the version to 12.18.0
This commit is contained in:
parent
a2bfef53de
commit
489add6e5e
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -12,6 +12,9 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.18.0'
|
||||
|
||||
- name: Set up Git
|
||||
run: |
|
||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -15,6 +15,10 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.18.0'
|
||||
|
||||
- run: yarn
|
||||
- run: grunt release --skip-tests
|
||||
- run: npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
|
||||
|
Loading…
Reference in New Issue
Block a user