mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Updated all GitHub-owned Actions to v3
- updating to v3 gives us the Latest And Greatest ™️
- really, it only bumps these workflows to Node 16, which is still fine
with me
This commit is contained in:
parent
37f910965b
commit
ddcff9621d
2 changed files with 13 additions and 13 deletions
6
.github/workflows/browser-tests.yml
vendored
6
.github/workflows/browser-tests.yml
vendored
|
@ -14,8 +14,8 @@ jobs:
|
|||
run:
|
||||
working-directory: ghost/core
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '14.x'
|
||||
cache: yarn
|
||||
|
@ -31,7 +31,7 @@ jobs:
|
|||
env:
|
||||
TEST_URL: ${{ github.event.inputs.site_url }}
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
name: playwright-report
|
||||
|
|
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
|
@ -19,8 +19,8 @@ jobs:
|
|||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
|
||||
name: Lint
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
env:
|
||||
FORCE_COLOR: 0
|
||||
with:
|
||||
|
@ -110,11 +110,11 @@ jobs:
|
|||
database__client: ${{ matrix.env.DB_CLIENT }}
|
||||
name: Migrations (${{ matrix.env.DB }})
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/setup-node@v3
|
||||
env:
|
||||
FORCE_COLOR: 0
|
||||
with:
|
||||
|
@ -172,8 +172,8 @@ jobs:
|
|||
node: [ '14.17.0', '16.13.0' ]
|
||||
name: Unit Tests (Node ${{ matrix.node }})
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
env:
|
||||
FORCE_COLOR: 0
|
||||
with:
|
||||
|
@ -213,8 +213,8 @@ jobs:
|
|||
NODE_ENV: ${{ matrix.env.NODE_ENV }}
|
||||
name: Database Tests (Node ${{ matrix.node }}, ${{ matrix.env.DB }})
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
env:
|
||||
FORCE_COLOR: 0
|
||||
with:
|
||||
|
@ -310,11 +310,11 @@ jobs:
|
|||
run:
|
||||
working-directory: ghost/core
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/setup-node@v3
|
||||
env:
|
||||
FORCE_COLOR: 0
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue