Skip to content

chore(deps): update eslint dependencies to v6 (major) #308

chore(deps): update eslint dependencies to v6 (major)

chore(deps): update eslint dependencies to v6 (major) #308

Workflow file for this run

name: Lint code and compile setup script
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [">=16.6.0 <17.x"]
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381 # v3.8.0
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- name: Install dependencies
run: npm ci
- name: Lint code
run: npm run lint
compile:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [">=16.6.0 <17.x"]
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381 # v3.8.0
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- name: Install dependencies
run: npm ci
- name: Compile test
run: npm run compile && rm -rf dist