Skip to content

Commit

Permalink
chore: added workflow for jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
BallardRobinett committed Aug 23, 2023
1 parent 38bd28c commit 1c5281a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/jest-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Jest Tests

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 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: 'yarn'
- run: yarn install
- run: yarn build --if-present
- run: yarn test

0 comments on commit 1c5281a

Please sign in to comment.