Skip to content

build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 (#1398) #930

build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 (#1398)

build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 (#1398) #930

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- run: git branch -a
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: FORMAT_START=refs/remotes/origin/main npm run lint