2020-04-10 18:42:25 +03:00
|
|
|
name: Test
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-05-27 15:17:36 +03:00
|
|
|
- main
|
2020-04-10 18:42:25 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-06-24 19:50:29 +03:00
|
|
|
node: [ '14' ]
|
2020-04-10 18:42:25 +03:00
|
|
|
env:
|
|
|
|
FORCE_COLOR: 1
|
|
|
|
CI: true
|
|
|
|
name: Node ${{ matrix.node }}
|
|
|
|
steps:
|
2021-04-28 14:01:39 +03:00
|
|
|
- uses: actions/checkout@v2
|
2021-07-05 18:10:52 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2020-04-10 18:42:25 +03:00
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node }}
|
|
|
|
- run: yarn install
|
|
|
|
- run: yarn build
|
|
|
|
- run: yarn test
|