Skip to content

Commit

Permalink
fix pnpm version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula committed Nov 23, 2023
1 parent ace78c0 commit 6302a74
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/check-nodejs-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v4
- uses: Swatinem/rust-cache@v2
- run: pnpm install
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publish-packager-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/packager/nodejs
- uses: actions/setup-node@v4
if: ${{ !matrix.settings.docker }}
Expand Down Expand Up @@ -170,6 +171,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/packager/nodejs
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -200,6 +202,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/packager/nodejs
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -231,6 +234,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/packager/nodejs
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -273,6 +277,7 @@ jobs:
shell: bash
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/packager/nodejs
- name: Install dependencies
run: |
Expand Down Expand Up @@ -312,6 +317,7 @@ jobs:
shell: bash
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/packager/nodejs
- name: Install dependencies
run: |
Expand Down Expand Up @@ -356,6 +362,7 @@ jobs:
shell: bash
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/packager/nodejs
- name: Install dependencies
run: |
Expand Down Expand Up @@ -391,6 +398,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/packager/nodejs
- uses: actions/setup-node@v4
- run: pnpm install
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publish-updater-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/updater/nodejs
- uses: actions/setup-node@v4
if: ${{ !matrix.settings.docker }}
Expand Down Expand Up @@ -170,6 +171,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/updater/nodejs
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -200,6 +202,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/updater/nodejs
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -231,6 +234,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/updater/nodejs
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -273,6 +277,7 @@ jobs:
shell: bash
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/updater/nodejs
- name: Install dependencies
run: |
Expand Down Expand Up @@ -311,6 +316,7 @@ jobs:
shell: bash
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/updater/nodejs
- name: Install dependencies
run: |
Expand Down Expand Up @@ -354,6 +360,7 @@ jobs:
shell: bash
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/updater/nodejs
- name: Install dependencies
run: |
Expand Down Expand Up @@ -388,6 +395,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
package_json_file: bindings/updater/nodejs
- uses: actions/setup-node@v4
- run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion bindings/updater/nodejs/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extern crate napi_build;

fn main() {
napi_build::setup();
napi_build::setup();
}

0 comments on commit 6302a74

Please sign in to comment.