Skip to content

Allow permanent moderators to delegate temporary access (#420) #1061

Allow permanent moderators to delegate temporary access (#420)

Allow permanent moderators to delegate temporary access (#420) #1061

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: 24.x
cache: "npm"
- run: npm ci
- run: npm run typecheck
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npx playwright install --with-deps chromium
- name: Run benchmark
timeout-minutes: 4
run: npm run bench
- run: npm test
env:
CI: true
- name: Upload Test Artifacts
if: always()
uses: actions/upload-artifact@v7
with:
name: tests-output-${{ matrix.node-version }}
path: |
playwright-report/
test-results/