This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,14 @@ jobs:
73
73
74
74
- run : |
75
75
npm run prebuild-electron-arm64
76
- npm run prebuild-node-ia32
77
76
npm run prebuild-electron-ia32
78
77
if: ${{ matrix.os == 'windows-latest' }}
79
78
name: Prebuild (Windows x86 + ARM64)
80
79
81
80
- run : |
82
81
mkdir -p prebuilds && chmod 777 prebuilds
83
82
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"
85
84
docker build -t node-keytar/arm64-cross-compile docker/arm64-cross-compile
86
85
docker run --rm -v ${PWD}:/project node-keytar/arm64-cross-compile /bin/bash -c "cd /project && npm run prebuild-electron-arm64"
87
86
if: ${{ matrix.os == 'ubuntu-16.04' }}
@@ -139,14 +138,14 @@ jobs:
139
138
with :
140
139
node-version : 15.x
141
140
registry-url : ' https://registry.npmjs.org'
142
-
141
+
143
142
- run : sudo apt-get install libsecret-1-dev
144
143
name : Install additional dependencies
145
144
146
145
- run : npm install
147
146
name : Setup environment
148
147
149
148
- run : npm publish --access public
150
- name : Upload to NPM
149
+ name : Upload to NPM
151
150
env :
152
151
NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 35
35
"lint" : " npm run cpplint" ,
36
36
"cpplint" : " node-cpplint --filters legal-copyright,build-include,build-namespaces src/*.cc" ,
37
37
"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" ,
43
42
"upload" : " node ./script/upload.js"
44
43
},
45
44
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments