Add @babel/preset-env to dev dependancies #6
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: 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 | |
- name: Check if all is pretty | |
run: npx prettier . --check | |
ugly-unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Instasll dependancies | |
run: npm install --save-dev | |
- name: Run unit tests | |
run: npx jest |