Skip to content

Commit

Permalink
GitHub action to execute tests
Browse files Browse the repository at this point in the history
  • Loading branch information
caolan committed Jul 10, 2024
1 parent 1cb4670 commit 2307ff6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: test

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

permissions:
contents: read

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: Run linter
run: deno lint

- name: Run tests
run: deno test

0 comments on commit 2307ff6

Please sign in to comment.