feat(infra): added authentication with jwt and changes to tests #13
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: Run unit tests | |
on: | |
push: | |
branches: | |
- alpha | |
jobs: | |
unit-tests: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Use node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 'latest' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run unit tests | |
run: npm run test |