Skip to content

Commit 20148d6

Browse files
authored
Move nsfw to dependencies, remove napi & murmur2 binaries. (#1446)
* Move nsfw to dependencies, remove tmp napi binaries. * Some fixes * Downgrading nsfw package to working version * Add node-gyp on latest version for Windows build * Revert "Add node-gyp on latest version for Windows build" This reverts commit 0488609. * Add workflow to install node-gyp * Some debugging, tryouts... * Some more debug stuff * Where node plz * Where node the second * Yet another try to fix it * Debuggin & Windoof * Can't find words to describe my feelings * I can't believe it worked * Yet another tryyy * A bit less upgrade
1 parent 69a0296 commit 20148d6

22 files changed

+33854
-482
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ jobs:
2626
- uses: actions/checkout@v2
2727
with:
2828
fetch-depth: 1
29-
- name: Use Node.js 16.13.1
29+
- name: Use Node.js 16.17.0
3030
uses: actions/setup-node@v1
3131
with:
32-
node-version: '16.13.1'
33-
32+
node-version: '16.17.0'
3433

3534
- name: Install Nightly
3635
run: |
@@ -48,14 +47,12 @@ jobs:
4847
if: matrix.os == 'ubuntu-latest'
4948
run: |
5049
rustup target add x86_64-unknown-linux-gnu --toolchain nightly
51-
5250
- name: Switch rust to nightly
5351
run: |
5452
rustup default nightly
55-
5653
- name: npm run install
5754
run: |
58-
npm i
55+
npm i --legacy-peer-deps
5956
- name: npm run lint
6057
run: |
6158
npm run lint

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
/build
1515
/release
1616
/deploy
17-
/public/native/*/index.d.ts
18-
/public/native/*/napi.node
17+
/public/native
1918

2019
# rust target
2120
/target
@@ -42,4 +41,4 @@
4241
npm-debug.log*
4342
yarn-debug.log*
4443
yarn-error.log*
45-
signCertificate.pfx
44+
signCertificate.pfx

0 commit comments

Comments
 (0)