Skip to content

Commit

Permalink
ci: Add GitHub action for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sivertschou committed Jan 11, 2025
1 parent 4180ab9 commit 41c3dae
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test

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

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- run: yarn install --frozen-lockfile
- run: yarn test

0 comments on commit 41c3dae

Please sign in to comment.