Skip to content

Commit

Permalink
WEB-12: Create 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 18a8cef
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/jestci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Jest CI

on:
push:
branches:
- main
- WEB-12-ci-pipeline
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 18a8cef

Please sign in to comment.