Skip to content

Commit

Permalink
run test suite in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornkihlberg committed Oct 18, 2023
1 parent 1af1b33 commit fa736fa
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-suite.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test suite

on:
pull_request:
types:
- opened
- synchronize

jobs:
check-changelog:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3.3.0

- name: 🧰 Setup nix
uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🔨 Build project
run: |
nix develop --show-trace --command bash -c "npm i && npm run build"
- name: 🧪 Run tests
run: |
nix develop --show-trace --command bash -c "npm test"

0 comments on commit fa736fa

Please sign in to comment.