feat(user): add certification routes #2156
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: Fixtures tests | |
on: | |
push: | |
branches: | |
- "**" | |
- "!master" | |
env: | |
ACCESS_LOG_PATH: | |
PGUSER: moncomptepro | |
PGPASSWORD: moncomptepro | |
PGDATABASE: moncomptepro | |
PGHOST: 127.0.0.1 | |
PGPORT: 5432 | |
DATABASE_URL: postgres://moncomptepro:[email protected]:5432/moncomptepro | |
INSEE_CONSUMER_KEY: ${{ secrets.INSEE_CONSUMER_KEY }} | |
INSEE_CONSUMER_SECRET: ${{ secrets.INSEE_CONSUMER_SECRET }} | |
NODE_ENV: test | |
SYMMETRIC_ENCRYPTION_KEY: aTrueRandom32BytesLongBase64EncodedStringAA= | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
services: | |
postgres: | |
image: postgres:15.10 | |
env: | |
POSTGRES_USER: ${{ env.PGUSER }} | |
POSTGRES_PASSWORD: ${{ env.PGPASSWORD }} | |
POSTGRES_DB: ${{ env.PGDATABASE }} | |
ports: | |
- 5432:5432 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
cache: "npm" | |
node-version-file: package.json | |
- run: npm ci | |
env: | |
CYPRESS_INSTALL_BINARY: 0 | |
- run: npm run build:workspaces | |
- run: npm run migrate up | |
- run: npm run fixtures:load-ci -- scripts/fixtures.sql | |
- run: npm run update-organization-info -- 500 |