This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
fix: Bcrypt not properly imported #44
Workflow file for this run
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: Backend | |
on: | |
pull_request_target: | |
branches: | |
- main | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: cd backend && npm install | |
- name: Reset the database (for e2e tests) | |
env: | |
DATABASE_URL: file:./database.dev.sqlite | |
run: cd backend && npm run db:reset | |
- name: Run verify | |
env: | |
DATABASE_URL: 'file:./database.dev.sqlite' | |
run: cd backend && npm run verify |