update _script
parent
b3730fbead
commit
ad46a28211
|
@ -17,12 +17,12 @@ jobs:
|
||||||
- ubuntu
|
- ubuntu
|
||||||
- macos
|
- macos
|
||||||
node:
|
node:
|
||||||
- 16
|
- 22
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout'
|
- name: 'Checkout'
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
|
|
||||||
- name: 'Setup Node.js environment'
|
- name: 'Setup Node.js "${{ matrix.node }}.x" environment'
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
@ -31,7 +31,7 @@ jobs:
|
||||||
- name: 'Setup pnpm'
|
- name: 'Setup pnpm'
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
|
|
||||||
- name: 'Setup Python environment (Mac) Because of electron-builder install-app-deps requires Python setuptools'
|
- name: 'Setup Python environment (Mac) Because of electron-builder install-app-deps requires Python setup tools'
|
||||||
if: matrix.os == 'macos'
|
if: matrix.os == 'macos'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
||||||
- name: 'Checkout'
|
- name: 'Checkout'
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
|
|
||||||
- name: 'Setup Node.js environment'
|
- name: 'Setup Node.js "${{ matrix.node }}.x" environment'
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
@ -36,13 +36,12 @@ jobs:
|
||||||
- name: 'Setup pnpm'
|
- name: 'Setup pnpm'
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
|
|
||||||
- name: 'Setup Python environment (Mac) Because of electron-builder install-app-deps requires Python setuptools'
|
- name: 'Setup Python environment (Mac) Because of electron-builder install-app-deps requires Python setup tools'
|
||||||
if: matrix.os == 'macos'
|
if: matrix.os == 'macos'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
|
|
||||||
|
|
||||||
- name: 'Get package info'
|
- name: 'Get package info'
|
||||||
id: package-info
|
id: package-info
|
||||||
uses: luizfelipelaviola/get-package-info@v1
|
uses: luizfelipelaviola/get-package-info@v1
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
cd ../
|
|
||||||
|
|
||||||
node -v
|
|
||||||
|
|
||||||
npm install -g cnpm --registry=https://registry.npmmirror.com
|
|
||||||
|
|
||||||
cnpm install -g lerna@6
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
cd ../
|
||||||
|
|
||||||
|
node -v
|
||||||
|
|
||||||
|
npm install -g pnpm --registry=https://registry.npmmirror.com
|
|
@ -2,4 +2,4 @@ cd ../
|
||||||
|
|
||||||
node -v
|
node -v
|
||||||
|
|
||||||
lerna bootstrap
|
pnpm install
|
Loading…
Reference in New Issue