Merge pull request #35 from AdaInTheLab/feat/bearer-token #127
This file contains hidden or 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: Tests | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Show lock/manifest diff in this merge ref | |
| run: | | |
| git --no-pager log -1 --oneline | |
| git --no-pager diff --name-only HEAD~1..HEAD || true | |
| git --no-pager diff -- package.json package-lock.json || true | |
| - name: Install dependencies | |
| run: npm ci --install-strategy=shallow | |
| - name: Run tests | |
| run: npm test |