Skip to content

build(deps-dev): bump eslint from 8.43.0 to 8.44.0 #3153

build(deps-dev): bump eslint from 8.43.0 to 8.44.0

build(deps-dev): bump eslint from 8.43.0 to 8.44.0 #3153

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Graph JS SDK CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v3
- 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: Build for node 14 and 16
if: matrix.node-version != '12.x'
run: npm run build --if-present
- name: Build for node 12
if: matrix.node-version == '12.x'
run: npm run build:cjs && npm run build:es
- name: Run unit tests
run: npm test
- name: Verify ESM compatibility
if: matrix.node-version == '16.x'
working-directory: './test-esm'
run: |
npm ci
npm test