build.yml 473 Bytes
Newer Older
Jeremy Tuloup's avatar
Jeremy Tuloup committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Build

on:
  push:
    branches: [ main ]
  pull_request:
    branches: '*'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Install node
      uses: actions/setup-node@v2
      with:
       node-version: '14.x'
    - name: Lint
      run: |
        yarn
        yarn run eslint:check
        yarn run prettier:check
    - name: Test
      run: |
        yarn run build:test
        yarn run test