feat: pass user id in req headers #1849
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- 0.*.x | |
workflow_dispatch: | |
jobs: | |
test_build: | |
name: Tests & Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '19' | |
cache: 'yarn' | |
- name: Check for dupes in lockfile | |
run: yarn dedupe --check | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Check types | |
run: yarn run typecheck | |
- name: Unit tests | |
run: yarn run test:ci | |
- name: Build and test frontend | |
run: yarn build | |
Eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '19' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Eslint | |
run: yarn run lint | |
Prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '19' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Eslint | |
run: yarn run prettier:check |