squiggle/.github/workflows/ci.yml

34 lines
798 B
YAML
Raw Normal View History

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
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: quantified-uncertainty
2022-04-11 22:56:24 +00:00
jobs:
build-check-coverage:
name: Build, check, coverage
2022-09-12 05:50:21 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v2
2022-09-12 05:50:21 +00:00
with:
node-version: 16
cache: 'yarn'
2022-10-08 14:37:34 +00:00
- name: Install dependencies
run: yarn
- name: Turbo run
2022-10-08 13:45:59 +00:00
run: npx turbo run build test lint bundle
- name: Coverage
2022-10-08 13:45:59 +00:00
run: npx turbo run coverage --no-cache # coverage builds for squiggle-lang can generate slower code that should never be cached