Skip to content

Commit

Permalink
ci: run tests etc
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodie committed Dec 23, 2024
1 parent 64d8d20 commit 9aa045c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test Lint Fmt

on:
pull_request:
branches:
- main

jobs:
deno-ci:
runs-on: ubuntu-latest

steps:
# Checkout the code
- name: Checkout code
uses: actions/checkout@v4

# Set up Deno
- name: Set up Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x

# Test the project
- name: Run tests
run: deno test

# Format check
- name: Check formatting
run: deno fmt --check

# Lint check
- name: Lint code
run: deno lint
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
*.js
yarn-error.log
docs
coverage

0 comments on commit 9aa045c

Please sign in to comment.