Skip to content

Bump express-validator from 6.15.0 to 7.0.1 in /graph-sample #141

Bump express-validator from 6.15.0 to 7.0.1 in /graph-sample

Bump express-validator from 6.15.0 to 7.0.1 in /graph-sample #141

Workflow file for this run

name: Node.js build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
defaults:
run:
working-directory: graph-sample
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Copy settings file
run: |
cp example.env .env
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build --if-present