CI #1517
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@v4 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: canary | |
- name: npm install | |
run: npm ci | |
- name: Lint | |
run: deno lint | |
- uses: dprint/[email protected] | |
- name: Check | |
run: deno task check | |
- name: Build | |
run: | | |
deno task addTypeScriptVersions | |
deno task updateCompilerFiles | |
deno task test | |
deno task predeploy | |
- name: Deploy | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist | |
single-commit: true |