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

33 lines
522 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
2022-10-15 16:38:40 +00:00
with:
2023-07-15 12:26:18 +00:00
deno-version: v1.35
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 --trace-ops