Skip to content

CI

CI #926

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
# do this every day at 7AM UTC
- cron: "0 7 * * *"
jobs:
build:
name: test ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: |
yarn install
yarn addTypeScriptVersions
yarn updateCompilerFiles
yarn test
yarn predeploy
# todo: re-enable in the future
# - name: Test
# run: |
# - npm run cypress:ci
# # kill anything running in the background
# - kill $(jobs -p) || true
- name: Deploy
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: site/dist