1
0
silverbullet/.github/workflows/test.yml

34 lines
589 B
YAML
Raw Normal View History

name: Test
2022-10-15 16:38:40 +00:00
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Deno
# uses: denoland/setup-deno@v1
uses: denoland/setup-deno@d4873ceeec10de6275fecd1f94b6985369d40231
with:
2023-04-19 08:46:20 +00:00
deno-version: v1.32.5
2022-10-15 16:38:40 +00:00
2022-11-01 16:28:14 +00:00
- name: Run build
run: deno task build
2022-10-15 16:38:40 +00:00
2023-01-15 10:33:09 +00:00
- name: Run static type check
run: deno task check
2022-10-15 16:38:40 +00:00
- name: Run tests
run: deno task test