build(deps): bump step-security/harden-runner from 2.6.0 to 2.6.1 #964
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |