Skip to content

Commit

Permalink
Add a github action to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhanshuguptagit committed Nov 2, 2023
1 parent e24166d commit ad8b1b3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/bean-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Bean tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
node-version: 18.x
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ node-version }}
cache: 'npm'
- run: npm install
- run: npx shadow-cljs compile test && node tests.js

0 comments on commit ad8b1b3

Please sign in to comment.