Skip to content

build(deps): bump github/codeql-action from 2.21.9 to 2.22.3 (#1393) #915

build(deps): bump github/codeql-action from 2.21.9 to 2.22.3 (#1393)

build(deps): bump github/codeql-action from 2.21.9 to 2.22.3 (#1393) #915

Workflow file for this run

name: Style Checks
on: [push, pull_request]
permissions:
contents: read
jobs:
lint:
if: github.repository == 'nodejs/node-addon-api'
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
fetch-depth: 0
- run: git branch -a
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: FORMAT_START=refs/remotes/origin/main npm run lint