remove husky package json - Jules BRAUN #10
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: Execute API tests with .env.test | |
on: | |
push: | |
branches: | |
- main | |
- test | |
pull_request: | |
branches: | |
- main | |
- test | |
jobs: | |
test-api: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout du code | |
uses: actions/checkout@v2 | |
- name: Go to API folder | |
run: cd server | |
- name: Use test env sample | |
run: cp .env.test .env | |
- name: Install dependancies | |
run: npm install | |
- name: Execute tests | |
run: npm run test |