Skip to content

chore: some minor code adjustments #1111

chore: some minor code adjustments

chore: some minor code adjustments #1111

Workflow file for this run

name: Build & Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
permissions:
contents: read
strategy:
matrix:
os: [macos-14]
node-version: [24.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run eslint
- run: npm run build
env:
GITHUB_API_PREFIX: http://localhost:8080/api/github
- name: Install snapshot test dependencies
working-directory: tests
run: npm ci && npx playwright install --with-deps
- name: Run snapshot tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx start-server-and-test watch:dev-server http://localhost:8080 "env -u GITHUB_TOKEN npm --prefix tests test"