Skip to content

Commit

Permalink
ci: added workflow for automated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis3797 committed Jun 20, 2024
1 parent b1ed89c commit 288b9ef
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/automated-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Run Tests

on:
pull_request:
push:
branches: ['main']

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies
run: yarn install

- name: Run tests
run: yarn jest --coverage=false

0 comments on commit 288b9ef

Please sign in to comment.