Skip to content

Commit

Permalink
feat: run tests on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Mar 3, 2024
1 parent 92c34af commit d7eef4d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run tests

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v4

- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Verify formatting
run: deno fmt --check

- name: Run linter
run: deno lint

- name: Run tests
run: deno test

0 comments on commit d7eef4d

Please sign in to comment.