Skip to content

Bump path-to-regexp and express in /jsbrain_server #41

Bump path-to-regexp and express in /jsbrain_server

Bump path-to-regexp and express in /jsbrain_server #41

Workflow file for this run

name: Compile
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '2' # so we can run git diff
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm ci
npm run clean compile
- name: Check for changes
run: |
git diff --exit-code