Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 8e977a8

Browse files
authored
cleanup unsupported versions (#374)
1 parent af77001 commit 8e977a8

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,14 @@ jobs:
7373
7474
- run: |
7575
npm run prebuild-electron-arm64
76-
npm run prebuild-node-ia32
7776
npm run prebuild-electron-ia32
7877
if: ${{ matrix.os == 'windows-latest' }}
7978
name: Prebuild (Windows x86 + ARM64)
8079
8180
- run: |
8281
mkdir -p prebuilds && chmod 777 prebuilds
8382
docker build -t node-keytar/i386 docker/i386
84-
docker run --rm -v ${PWD}:/project node-keytar/i386 /bin/bash -c "cd /project && npm run prebuild-node-ia32 && npm run prebuild-electron-ia32 && rm -rf build"
83+
docker run --rm -v ${PWD}:/project node-keytar/i386 /bin/bash -c "cd /project && npm run prebuild-electron-ia32 && rm -rf build"
8584
docker build -t node-keytar/arm64-cross-compile docker/arm64-cross-compile
8685
docker run --rm -v ${PWD}:/project node-keytar/arm64-cross-compile /bin/bash -c "cd /project && npm run prebuild-electron-arm64"
8786
if: ${{ matrix.os == 'ubuntu-16.04' }}
@@ -139,14 +138,14 @@ jobs:
139138
with:
140139
node-version: 15.x
141140
registry-url: 'https://registry.npmjs.org'
142-
141+
143142
- run: sudo apt-get install libsecret-1-dev
144143
name: Install additional dependencies
145144

146145
- run: npm install
147146
name: Setup environment
148147

149148
- run: npm publish --access public
150-
name: Upload to NPM
149+
name: Upload to NPM
151150
env:
152151
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@
3535
"lint": "npm run cpplint",
3636
"cpplint": "node-cpplint --filters legal-copyright,build-include,build-namespaces src/*.cc",
3737
"test": "npm run lint && npm rebuild && mocha --require babel-core/register spec/",
38-
"prebuild-node": "prebuild -t 8.9.0 -t 9.4.0 -t 10.11.0 -t 11.9.0 -t 12.0.0 -t 13.0.0 -t 14.0.0 -t 15.0.0 --strip",
39-
"prebuild-node-ia32": "prebuild -t 8.9.0 -t 9.4.0 -a ia32 --strip",
40-
"prebuild-electron": "prebuild -t 7.0.0 -t 8.0.0 -t 9.0.0 -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron --strip",
41-
"prebuild-electron-arm64": "prebuild -t 7.0.0 -t 8.0.0 -t 9.0.0 -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron -a arm64 --strip",
42-
"prebuild-electron-ia32": "prebuild -t 7.0.0 -t 8.0.0 -t 9.0.0 -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron -a ia32 --strip",
38+
"prebuild-node": "prebuild -t 10.11.0 -t 11.9.0 -t 12.0.0 -t 13.0.0 -t 14.0.0 -t 15.0.0 --strip",
39+
"prebuild-electron": "prebuild -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron --strip",
40+
"prebuild-electron-arm64": "prebuild -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron -a arm64 --strip",
41+
"prebuild-electron-ia32": "prebuild -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron -a ia32 --strip",
4342
"upload": "node ./script/upload.js"
4443
},
4544
"devDependencies": {

0 commit comments

Comments
 (0)