Skip to content

Commit

Permalink
run tests in github action (#31)
Browse files Browse the repository at this point in the history
* add ci config

* .
  • Loading branch information
ldanilek authored Nov 10, 2024
1 parent 8e4de96 commit 35e09c2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache-dependency-path: |
package-lock.json
node-version: "18.x"
cache: "npm"
- run: npm i
- run: npm ci
- run: npm test

0 comments on commit 35e09c2

Please sign in to comment.