We cleanse markdown (#40) #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Sanity checks | |
on: | |
push: | |
branches: | |
- dev | |
- main | |
pull_request: | |
branches: | |
- dev | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
- name: Test things | |
run: | | |
npm ci # This will make sure that package.json and package-lock.json are in sync | |
npm run lint | |
npx jest --coverage | |
npm test # This will be unit tests | |
# Won't work because of permissions and I will fight later | |
# - uses: 5monkeys/cobertura-action@master | |
# with: | |
# path: coverage/cobertura-coverage.xml | |
# minimum_coverage: 17 |