Skip to content

Bump path-to-regexp, express and @vercel/node in /api #532

Bump path-to-regexp, express and @vercel/node in /api

Bump path-to-regexp, express and @vercel/node in /api #532

Workflow file for this run

name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
NODE_VERSION: 20.x
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
package: [
{
name: "front-end",
directory: ".",
},
{
name: "back-end",
directory: "./api",
},
]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: lint ${{ matrix.package.name}}
run: npm run lint
working-directory: ${{ matrix.package.directory }}
- name: type-check ${{ matrix.package.name}}
run: npm run type-check
working-directory: ${{ matrix.package.directory }}
- name: test ${{ matrix.package.name }}
run: npm run test
working-directory: ${{ matrix.package.directory }}