Skip to content

Commit

Permalink
Merge pull request #16 from ssciwr/add-workflow-for-tests
Browse files Browse the repository at this point in the history
add tests workflow file
  • Loading branch information
MaHaWo authored Aug 22, 2024
2 parents 479904a + e3517ca commit bdfb7bf
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: run tests
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
unit-tests:
runs-on: ubuntu-latest

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

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

- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm run test

0 comments on commit bdfb7bf

Please sign in to comment.