Skip to content

Bump eslint from 8.57.0 to 9.10.0 in /graph-sample #317

Bump eslint from 8.57.0 to 9.10.0 in /graph-sample

Bump eslint from 8.57.0 to 9.10.0 in /graph-sample #317

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: [16.x, 18.x,20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- 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