mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Updated actions/setup-node to v2
no issue - amongst many other things, v2 uses a cache to download Node versions
This commit is contained in:
parent
33f60e27c3
commit
3e39239af0
1 changed files with 4 additions and 4 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
name: Lint
|
name: Lint
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '12.10.0'
|
node-version: '12.10.0'
|
||||||
- run: yarn
|
- run: yarn
|
||||||
|
@ -46,7 +46,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: true
|
submodules: true
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '12.10.0'
|
node-version: '12.10.0'
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ jobs:
|
||||||
name: Node ${{ matrix.node }} - ${{ matrix.env.DB }}
|
name: Node ${{ matrix.node }} - ${{ matrix.env.DB }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: true
|
submodules: true
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '10.13.0'
|
node-version: '10.13.0'
|
||||||
- run: npm install -g ghost-cli@latest
|
- run: npm install -g ghost-cli@latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue