lowdefy/.github/workflows/test.yml
2020-10-07 15:49:23 +02:00

26 lines
601 B
YAML

name: Test
on:
pull_request:
push:
branches:
- main
- develop
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
- uses: actions/checkout@v2
- name: Check yarn cache integrity
run: yarn install --immutable --immutable-cache
- name: Build packages
run: yarn build
# format tests don't pass on node 12 since icu is missing and tests don't work with locals
- name: Test packages
run: yarn test --ignore='@lowdefy/format'