2021-09-24 00:47:06 +00:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-02-04 09:01:49 +00:00
|
|
|
- name: Setup node 16
|
2021-09-24 00:47:06 +00:00
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
2022-02-04 09:01:49 +00:00
|
|
|
node-version: 16.x
|
2021-09-24 00:47:06 +00:00
|
|
|
- run: yarn install --frozen-lockfile
|
|
|
|
- run: yarn build
|
2021-09-27 01:08:41 +00:00
|
|
|
- run: DEBUG=communities:test* yarn test
|