Skip to content

Commit

Permalink
Create jest-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alepbloyd authored Aug 22, 2024
1 parent daa3ee9 commit 5835bd4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/jest-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Jest/React CI"
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
jest:
runs-on: ubuntu-latest
steps:
- name: Create folder
run: |
mkdir -p /opt/bookworm
cd /opt/bookworm
- name: Checkout code
uses: actions/checkout@v4
- name: Install modules
run: |
cd react
npm i
- name: Run tests
run: |
cd react
npm test

0 comments on commit 5835bd4

Please sign in to comment.