Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Bump body-parser and express in /src/samples/conference #389

Bump body-parser and express in /src/samples/conference

Bump body-parser and express in /src/samples/conference #389

Workflow file for this run

name: Continuous Integration
permissions: read-all
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "20"
- run: npm install
- run: grunt check
working-directory: ./scripts
build-matrix:
name: Build matrix for unit test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: read-matrix
name: Read build matrix
run: echo "::set-output name=matrix::`jq -c . test/unit/config/run_matrix.json`"
outputs:
matrix: ${{ steps.read-matrix.outputs.matrix }}
unit-test:
needs: build-matrix
runs-on: ${{ matrix.os }}
strategy:
matrix: ${{ fromJSON(needs.build-matrix.outputs.matrix)[github.event_name] }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "20"
- run: npm install
- name: Run test cases
env:
BROWSER: ${{ matrix.browser }}
run: npm run unittest