Skip to content

Commit

Permalink
WEB-12: Add CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnie4k committed Aug 19, 2024
1 parent 9e2801a commit 9e2925b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/jestci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Jest CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache-dependency-path: ./yarn.lock
node-version: ${{ matrix.node-version }}
cache: "yarn"

- name: Install dependencies
run: yarn install

- name: Run Jest tests
run: yarn test

0 comments on commit 9e2925b

Please sign in to comment.