Skip to content

Commit

Permalink
Run tests on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stenlarsson committed Feb 6, 2025
1 parent 04b7d26 commit a6cd935
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

name: Test

on: [push]

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repostiory
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm

- name: Install NPM packages
run: |
npm ci
- name: Run tests
run: |
npm test

0 comments on commit a6cd935

Please sign in to comment.