2022-10-08 13:28:43 +00:00
|
|
|
name: Squiggle packages checks
|
2022-03-23 17:55:31 +00:00
|
|
|
|
2022-03-25 17:52:51 +00:00
|
|
|
on:
|
2022-04-12 00:49:02 +00:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
2022-03-25 17:52:51 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2022-04-11 21:41:40 +00:00
|
|
|
- develop
|
2022-03-23 17:55:31 +00:00
|
|
|
|
2022-10-08 13:28:43 +00:00
|
|
|
env:
|
|
|
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
|
|
|
TURBO_TEAM: quantified-uncertainty
|
2022-04-11 22:56:24 +00:00
|
|
|
|
2022-10-08 13:28:43 +00:00
|
|
|
jobs:
|
2022-10-08 15:13:44 +00:00
|
|
|
build-test-lint:
|
|
|
|
name: Build, test, lint
|
2022-09-12 05:50:21 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2022-10-08 13:28:43 +00:00
|
|
|
- name: Setup Node.js environment
|
2022-10-08 15:55:57 +00:00
|
|
|
uses: actions/setup-node@v3
|
2022-09-12 05:50:21 +00:00
|
|
|
with:
|
2022-10-08 13:28:43 +00:00
|
|
|
node-version: 16
|
|
|
|
cache: 'yarn'
|
2022-10-08 14:37:34 +00:00
|
|
|
- name: Install dependencies
|
2022-10-08 15:55:57 +00:00
|
|
|
run: yarn --frozen-lockfile
|
2022-10-08 13:28:43 +00:00
|
|
|
- name: Turbo run
|
2022-10-08 13:45:59 +00:00
|
|
|
run: npx turbo run build test lint bundle
|
2022-10-08 15:13:44 +00:00
|
|
|
|
|
|
|
coverage:
|
2022-10-08 15:24:12 +00:00
|
|
|
name: Coverage
|
2022-10-08 15:13:44 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup Node.js environment
|
|
|
|
uses: actions/setup-node@v2
|
|
|
|
with:
|
|
|
|
node-version: 16
|
|
|
|
cache: 'yarn'
|
|
|
|
- name: Install dependencies
|
|
|
|
run: yarn
|
2022-10-08 13:28:43 +00:00
|
|
|
- name: Coverage
|
2022-10-08 17:15:37 +00:00
|
|
|
run: npx turbo run coverage
|