silverbullet/.github/workflows/test.yml

30 lines
456 B
YAML
Raw Permalink Normal View History

name: Test
2022-10-16 00:38:40 +08: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-16 00:38:40 +08:00
with:
2023-11-20 19:53:57 +08:00
deno-version: v1.38
2022-10-16 00:38:40 +08:00
2022-11-02 00:28:14 +08:00
- name: Run build
run: deno task build
2022-10-16 00:38:40 +08:00
- name: Run tests
run: deno task test --trace-ops