-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
103 additions
and
48 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Cpplint | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
eslint: | ||
name: Cpplint | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
|
||
- name: Fetch Repository | ||
uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.16.0 | ||
cache: 'npm' | ||
|
||
- name: Install Modules | ||
run: npm ci | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.12' | ||
|
||
- name: Install Cpplint | ||
run: pip install cpplint | ||
|
||
- name: Run Cpplint | ||
run: | | ||
node -e "require('addon-tools-raub').cpcpplint()" | ||
cpplint --recursive ./src |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"author": "Luis Blanco <[email protected]>", | ||
"name": "glfw-raub", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"description": "GLFW for Node.js", | ||
"license": "MIT", | ||
"main": "index.js", | ||
|
@@ -44,13 +44,14 @@ | |
"url": "https://github.com/node-3d/glfw-raub.git" | ||
}, | ||
"dependencies": { | ||
"addon-tools-raub": "^7.3.0", | ||
"addon-tools-raub": "^7.4.0", | ||
"deps-opengl-raub": "^5.1.1", | ||
"segfault-raub": "^2.1.2" | ||
}, | ||
"devDependencies": { | ||
"eslint-plugin-node": "^11.1.0", | ||
"@types/node": "^20.8.3", | ||
"eslint": "^8.51.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"node-addon-api": "^7.0.0", | ||
"typescript": "^5.2.2" | ||
} | ||
|
This file was deleted.
Oops, something went wrong.