feat: add support for nogc types via BasicEnv
#1340
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: [22.x] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
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 |