Skip to content

Commit

Permalink
Move nsfw to dependencies, remove napi & murmur2 binaries. (#1446)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Eskaan committed Jan 16, 2023
1 parent 69a0296 commit 20148d6
Show file tree
Hide file tree
Showing 22 changed files with 33,854 additions and 482 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/nodejs.yml
Expand Up @@ -26,11 +26,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Use Node.js 16.13.1
- name: Use Node.js 16.17.0
uses: actions/setup-node@v1
with:
node-version: '16.13.1'

node-version: '16.17.0'

- name: Install Nightly
run: |
Expand All @@ -48,14 +47,12 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
rustup target add x86_64-unknown-linux-gnu --toolchain nightly
- name: Switch rust to nightly
run: |
rustup default nightly
- name: npm run install
run: |
npm i
npm i --legacy-peer-deps
- name: npm run lint
run: |
npm run lint
Expand Down
5 changes: 2 additions & 3 deletions .gitignore
Expand Up @@ -14,8 +14,7 @@
/build
/release
/deploy
/public/native/*/index.d.ts
/public/native/*/napi.node
/public/native

# rust target
/target
Expand All @@ -42,4 +41,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
signCertificate.pfx
signCertificate.pfx

0 comments on commit 20148d6

Please sign in to comment.