Skip to content

Commit

Permalink
Add the GitHub pipeline description to test every commit
Browse files Browse the repository at this point in the history
  • Loading branch information
measles committed Sep 8, 2024
1 parent 9491990 commit 1631c98
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test source code

on:
push:
branches:
- "**"
- "*"

jobs:
pretty:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Instasll dependancies
run: |
npm install --save-dev --seve-extract 'prettier@3.3.3' jest
- name: Check if all is pretty
run: npx prettier . --check

- name: Run unit tests
run: npx jest

0 comments on commit 1631c98

Please sign in to comment.