ghost-portal/.github/workflows/pr-any.yml
Jaco Greeff a3842bb5fe
Add yarn matrix (#2398)
* Add yarn matrix

* Update pr-any.yml
2020-03-16 15:34:28 +01:00

20 lines
430 B
YAML

name: PR
on: [pull_request]
jobs:
pr:
strategy:
matrix:
step: ['lint', 'test', 'build:code', 'build:i18n']
name: ${{ matrix.step }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: ${{ matrix.step }}
run: |
yarn install --immutable | grep -v 'YN0013'
yarn ${{ matrix.step }}