Skip to content

Bump @types/node from 20.14.10 to 22.8.7 in /graph-sample #332

Bump @types/node from 20.14.10 to 22.8.7 in /graph-sample

Bump @types/node from 20.14.10 to 22.8.7 in /graph-sample #332

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