-
Notifications
You must be signed in to change notification settings - Fork 85
37 lines (36 loc) · 865 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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