forked from Blendman974/faceclaw
Merge pull request #31 from jmomakesstuff/add-tests-workflow
Add a workflow to run the tests
This commit is contained in:
1 file changed
+19
@@ -0,0 +1,19 @@
|
|||||||
|
name: Tests
|
||||||
|
|
||||||
|
# Runs the test suite on pushes to main and on pull requests.
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm test
|
||||||
Reference in new issue
Block a user