CI #963
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |