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 4abda1c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/bean-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Bean tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

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

0 comments on commit 4abda1c

Please sign in to comment.