Skip to content

Commit

Permalink
Merge pull request #6 from get-convex/lee/github-ci-action
Browse files Browse the repository at this point in the history
run tests in github action
  • Loading branch information
ldanilek authored Oct 29, 2024
2 parents 5d1d3ae + 2f68bc6 commit 927521a
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: |
example/package.json
package.json
node-version: '18.x'
cache: 'npm'
- run: npm i
- run: npm ci
- run: npm test

0 comments on commit 927521a

Please sign in to comment.