Skip to content

Commit

Permalink
Add github test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
birkskyum committed Nov 27, 2024
1 parent ebdde8f commit bfcda45
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Tests

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

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test

0 comments on commit bfcda45

Please sign in to comment.