Skip to content

feat: pass user id in req headers #1849

feat: pass user id in req headers

feat: pass user id in req headers #1849

Workflow file for this run

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