0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -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:
Daniel Lockyer 2021-02-09 16:21:54 +00:00
parent 33f60e27c3
commit 3e39239af0
No known key found for this signature in database
GPG key ID: FFBC6FA2A6F6ABC1

View file

@ -16,7 +16,7 @@ jobs:
name: Lint
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '12.10.0'
- run: yarn
@ -46,7 +46,7 @@ jobs:
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '12.10.0'
@ -87,7 +87,7 @@ jobs:
name: Node ${{ matrix.node }} - ${{ matrix.env.DB }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
@ -123,7 +123,7 @@ jobs:
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '10.13.0'
- run: npm install -g ghost-cli@latest