Skip to content

fix(server/root): use http.writeHead after async operation (#555) #19

fix(server/root): use http.writeHead after async operation (#555)

fix(server/root): use http.writeHead after async operation (#555) #19

Workflow file for this run

name: server CI
on:
push:
branches:
- master
paths:
- workspaces/server/**
pull_request:
paths:
- workspaces/server/**
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build:all
- name: Run tests
run: npm run test -w workspaces/server