mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 06:12:03 +03:00
af543c0cc9
- copied from https://github.com/TryGhost/billing-management/blob/master/.github/workflows/test.yml
26 lines
457 B
YAML
26 lines
457 B
YAML
name: Test
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-18.04
|
|
strategy:
|
|
matrix:
|
|
node: [ '10', '12' ]
|
|
env:
|
|
FORCE_COLOR: 1
|
|
CI: true
|
|
name: Node ${{ matrix.node }}
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- run: yarn install
|
|
- run: yarn build
|
|
- run: yarn test
|