34 lines
798 B
YAML
34 lines
798 B
YAML
name: Squiggle packages checks
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- develop
|
|
|
|
env:
|
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
|
TURBO_TEAM: quantified-uncertainty
|
|
|
|
jobs:
|
|
build-check-coverage:
|
|
name: Build, check, coverage
|
|
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
|
|
- name: Turbo run
|
|
run: npx turbo run build test lint bundle
|
|
- name: Coverage
|
|
run: npx turbo run coverage --no-cache # coverage builds for squiggle-lang can generate slower code that should never be cached
|