Skip to content

src: restore ability to run under NAPI_EXPERIMENTAL #1209

src: restore ability to run under NAPI_EXPERIMENTAL

src: restore ability to run under NAPI_EXPERIMENTAL #1209

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: [22.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- run: git branch -a
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: FORMAT_START=refs/remotes/origin/main npm run lint