Skip to content

Commit

Permalink
GitHub action to run tests on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
gvjacob committed Dec 19, 2024
1 parent da225f9 commit 02733e1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Toolbelt Tests

on:
pull_requst:
- main

jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

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

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test

0 comments on commit 02733e1

Please sign in to comment.