Skip to content

Commit

Permalink
Add a test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
franekmagiera committed Feb 11, 2024
1 parent af3b6eb commit e01ab01
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test
on:
push:
branches: [main]
pull_request:
branches: main

jobs:
test:
name: Test
runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.39.4

- name: Check formatting
run: "deno fmt --check"

- name: Lint
run: "deno lint"

- name: Test
run: "deno task test"

0 comments on commit e01ab01

Please sign in to comment.