Skip to content

Commit

Permalink
Remove node 12 support from CI (#100)
Browse files Browse the repository at this point in the history
* Remove node 12 support from CI

* Set min version to 14 in prebuildify action

* Add ABI versions for node 20 and 21

* Remove postbuild step
  • Loading branch information
CarlesDD authored Mar 21, 2024
1 parent 7bfe098 commit 7a9e608
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 41 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
needs: ['cpp-lint', 'js-lint']
strategy:
matrix:
version: [12, 13, 14, 15, 16, 17, 18, 19, 20, 21]
version: [14, 15, 16, 17, 18, 19, 20, 21]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -28,7 +28,7 @@ jobs:
needs: ['cpp-lint', 'js-lint']
strategy:
matrix:
version: [12, 13, 14, 15, 16, 17, 18, 19, 20, 21]
version: [14, 15, 16, 17, 18, 19, 20, 21]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -52,6 +52,7 @@ jobs:
prebuild: 'node scripts/prebuild'
skip: 'linux-arm linux-ia32'
target-name: 'iastnativemethods'
min-node-version: 14

cpp-test-libc:
needs: ['build']
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
needs: ['cpp-lint', 'js-lint']
strategy:
matrix:
version: [12, 14, 16, 18, 19, 20, 21]
version: [14, 16, 18, 19, 20, 21]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -24,7 +24,7 @@ jobs:
needs: ['cpp-lint', 'js-lint']
strategy:
matrix:
version: [12, 14, 16, 18, 19, 20, 21]
version: [14, 16, 18, 19, 20, 21]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -48,6 +48,7 @@ jobs:
prebuild: 'node scripts/prebuild'
skip: 'linux-arm linux-ia32'
target-name: 'iastnativemethods'
min-node-version: 14

cpp-test-libc:
needs: ['build']
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
prebuild: 'node scripts/prebuild'
skip: 'linux-arm linux-ia32'
target-name: 'iastnativemethods'
min-node-version: 14

pack:
needs: build
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"build:valgrind": "node-gyp configure && CXXFLAGS=\"-g -O0\" node-gyp build",
"install": "exit 0",
"lint": "eslint . -c ./.eslintrc.json",
"postbuild": "node ./scripts/pack.js",
"postbuild:asan": "npm run postbuild",
"postbuild:valgrind": "npm run postbuild",
"test:native": "./scripts/cpputest.sh",
"test:junit": "./scripts/cpputest.sh --ci",
"pretest:asan": "npm run build:asan",
Expand Down
18 changes: 0 additions & 18 deletions scripts/abi.js

This file was deleted.

16 changes: 0 additions & 16 deletions scripts/pack.js

This file was deleted.

0 comments on commit 7a9e608

Please sign in to comment.