fix(repo): fix publish scripts use of pnpm (#16566)
This commit is contained in:
parent
1ce2720d24
commit
d22b03756a
@ -13,7 +13,7 @@
|
|||||||
"forwardPorts": [4211],
|
"forwardPorts": [4211],
|
||||||
|
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
"postCreateCommand": "yarn install",
|
"postCreateCommand": "pnpm install",
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"extensions": ["nrwl.angular-console"]
|
"extensions": ["nrwl.angular-console"]
|
||||||
|
|||||||
18
.github/workflows/publish.yml
vendored
18
.github/workflows/publish.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
build: |
|
build: |
|
||||||
pnpm nx -- run-many --target=build-native -- --target=x86_64-apple-darwin
|
pnpm nx -- run-many --target=build-native -- --target=x86_64-apple-darwin
|
||||||
- host: windows-latest
|
- 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
|
target: x86_64-pc-windows-msvc
|
||||||
# Windows 32bit (not needed)
|
# Windows 32bit (not needed)
|
||||||
# - host: windows-latest
|
# - host: windows-latest
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
build: |-
|
build: |-
|
||||||
set -e &&
|
set -e &&
|
||||||
pnpm --version &&
|
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
|
- host: ubuntu-latest
|
||||||
target: x86_64-unknown-linux-musl
|
target: x86_64-unknown-linux-musl
|
||||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||||
@ -43,40 +43,40 @@ jobs:
|
|||||||
export CXX=$(xcrun -f clang++);
|
export CXX=$(xcrun -f clang++);
|
||||||
SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
|
SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
|
||||||
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
|
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
|
- host: ubuntu-latest
|
||||||
target: aarch64-unknown-linux-gnu
|
target: aarch64-unknown-linux-gnu
|
||||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
|
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
|
||||||
build: |-
|
build: |-
|
||||||
set -e &&
|
set -e &&
|
||||||
pnpm --version &&
|
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
|
- host: ubuntu-latest
|
||||||
target: armv7-unknown-linux-gnueabihf
|
target: armv7-unknown-linux-gnueabihf
|
||||||
setup: |
|
setup: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install gcc-arm-linux-gnueabihf -y
|
sudo apt-get install gcc-arm-linux-gnueabihf -y
|
||||||
build: |
|
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)
|
# Android (not needed)
|
||||||
# - host: ubuntu-latest
|
# - host: ubuntu-latest
|
||||||
# target: aarch64-linux-android
|
# target: aarch64-linux-android
|
||||||
# build: |
|
# 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
|
# - host: ubuntu-latest
|
||||||
# target: armv7-linux-androideabi
|
# target: armv7-linux-androideabi
|
||||||
# build: |
|
# 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
|
- host: ubuntu-latest
|
||||||
target: aarch64-unknown-linux-musl
|
target: aarch64-unknown-linux-musl
|
||||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||||
build: |-
|
build: |-
|
||||||
set -e &&
|
set -e &&
|
||||||
rustup target add aarch64-unknown-linux-musl &&
|
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
|
- host: windows-latest
|
||||||
target: aarch64-pc-windows-msvc
|
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
|
name: stable - ${{ matrix.settings.target }} - node@18
|
||||||
runs-on: ${{ matrix.settings.host }}
|
runs-on: ${{ matrix.settings.host }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
yarn check-lock-files &&
|
pnpm check-lock-files &&
|
||||||
yarn check-commit &&
|
pnpm check-commit &&
|
||||||
yarn documentation &&
|
pnpm documentation &&
|
||||||
yarn pretty-quick --check
|
pnpm pretty-quick --check
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
/scripts/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
|
/scripts/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
|
||||||
/tools/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
|
/tools/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
|
||||||
package.json @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 Site + Graph
|
||||||
/docs @bcabanes @isaacplmann @juristr
|
/docs @bcabanes @isaacplmann @juristr
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user