Skip to content

Build addon-tools before cpplint helper #60

Build addon-tools before cpplint helper

Build addon-tools before cpplint helper #60

Workflow file for this run

name: Cpplint
defaults:
run:
shell: bash
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
cpplint:
name: Cpplint
runs-on: ubuntu-latest
steps:
- name: Fetch Repository
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: 24.13.0
cache: 'npm'
- name: Install Modules
run: npm ci
- name: Install Cpplint
run: pip install cpplint
- name: Build Package
run: npm run build:ci
- name: Run Cpplint
run: |
node -e "import('@node-3d/addon-tools').then((m) => m.cpcpplint())"
cpplint --recursive ./test-addon
cpplint --recursive ./include