2021-04-16 19:59:16 +00:00
|
|
|
name: Build
|
|
|
|
on:
|
|
|
|
push:
|
2021-04-30 12:28:37 +00:00
|
|
|
branches:
|
|
|
|
- '**'
|
|
|
|
pull_request:
|
2021-04-16 19:59:16 +00:00
|
|
|
branches:
|
|
|
|
- master
|
2021-04-30 12:28:37 +00:00
|
|
|
- master-3.0
|
2021-04-16 19:59:16 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-04-18 20:35:52 +00:00
|
|
|
runs-on: windows-latest
|
|
|
|
|
2021-04-16 19:59:16 +00:00
|
|
|
steps:
|
2021-04-16 21:01:47 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup node 12
|
|
|
|
uses: actions/setup-node@v2
|
2021-04-16 19:59:16 +00:00
|
|
|
with:
|
2021-04-16 21:01:47 +00:00
|
|
|
node-version: 12.x
|
2021-04-18 22:39:50 +00:00
|
|
|
- uses: c-hive/gha-yarn-cache@v1
|
|
|
|
- name: Install JS dependencies
|
|
|
|
run: yarn install
|
|
|
|
- name: Test
|
|
|
|
run: yarn test
|