Ghost/ghost/portal/.github/workflows/test.yml

26 lines
449 B
YAML
Raw Normal View History

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
node: [ '14' ]
env:
FORCE_COLOR: 1
CI: true
name: Node ${{ matrix.node }}
steps:
2021-04-28 14:01:39 +03:00
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: yarn install
- run: yarn build
- run: yarn test