Skip to content

Commit

Permalink
fix(repo): fix publish scripts use of pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Apr 25, 2023
1 parent 7c05036 commit 2f1c9b3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"forwardPorts": [4211],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "yarn install",
"postCreateCommand": "pnpm install",
"customizations": {
"vscode": {
"extensions": ["nrwl.angular-console"]
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
build: |
pnpm nx -- run-many --target=build-native -- --target=x86_64-apple-darwin
- host: windows-latest
build: pnpm nx -- run-many --target=build-native -- --target=x86_64-pc-windows-msvc
build: pnpm nx run-many --target=build-native -- --target=x86_64-pc-windows-msvc
target: x86_64-pc-windows-msvc
# Windows 32bit (not needed)
# - host: windows-latest
Expand All @@ -30,7 +30,7 @@ jobs:
build: |-
set -e &&
pnpm --version &&
pnpm nx -- run-many --target=build-native -- --target=x86_64-unknown-linux-gnu
pnpm nx run-many --target=build-native -- --target=x86_64-unknown-linux-gnu
- host: ubuntu-latest
target: x86_64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
Expand All @@ -43,40 +43,40 @@ jobs:
export CXX=$(xcrun -f clang++);
SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
pnpm nx -- run-many --target=build-native -- --target=aarch64-apple-darwin
pnpm nx run-many --target=build-native -- --target=aarch64-apple-darwin
- host: ubuntu-latest
target: aarch64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
build: |-
set -e &&
pnpm --version &&
pnpm nx -- run-many --target=build-native -- --target=aarch64-unknown-linux-gnu
pnpm nx run-many --target=build-native -- --target=aarch64-unknown-linux-gnu
- host: ubuntu-latest
target: armv7-unknown-linux-gnueabihf
setup: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf -y
build: |
pnpm nx -- run-many --target=build-native -- --target=armv7-unknown-linux-gnueabihf
pnpm nx run-many --target=build-native -- --target=armv7-unknown-linux-gnueabihf
# Android (not needed)
# - host: ubuntu-latest
# target: aarch64-linux-android
# build: |
# pnpm nx -- run-many --target=build-native -- --target=aarch64-linux-android
# pnpm nx run-many --target=build-native -- --target=aarch64-linux-android
# - host: ubuntu-latest
# target: armv7-linux-androideabi
# build: |
# pnpm nx -- run-many --target=build-native -- --target=armv7-linux-androideabi
# pnpm nx run-many --target=build-native -- --target=armv7-linux-androideabi
- host: ubuntu-latest
target: aarch64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: |-
set -e &&
rustup target add aarch64-unknown-linux-musl &&
pnpm nx -- run-many --target=build-native -- --target=aarch64-unknown-linux-musl
pnpm nx run-many --target=build-native -- --target=aarch64-unknown-linux-musl
- host: windows-latest
target: aarch64-pc-windows-msvc
build: pnpm nx -- run-many --target=build-native -- --target=aarch64-pc-windows-msvc
build: pnpm nx run-many --target=build-native -- --target=aarch64-pc-windows-msvc
name: stable - ${{ matrix.settings.target }} - node@18
runs-on: ${{ matrix.settings.host }}
steps:
Expand Down
8 changes: 4 additions & 4 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env sh

yarn check-lock-files &&
yarn check-commit &&
yarn documentation &&
yarn pretty-quick --check
pnpm check-lock-files &&
pnpm check-commit &&
pnpm documentation &&
pnpm pretty-quick --check
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/scripts/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
/tools/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
package.json @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
yarn.lock @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
pnpm-lock.yaml @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry

# Docs Site + Graph
/docs @bcabanes @isaacplmann @juristr
Expand Down

0 comments on commit 2f1c9b3

Please sign in to comment.