update _script
parent
b3730fbead
commit
ad46a28211
|
@ -17,12 +17,12 @@ jobs:
|
|||
- ubuntu
|
||||
- macos
|
||||
node:
|
||||
- 16
|
||||
- 22
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
uses: actions/checkout@v4.1.7
|
||||
|
||||
- name: 'Setup Node.js environment'
|
||||
- name: 'Setup Node.js "${{ matrix.node }}.x" environment'
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
|
@ -31,7 +31,7 @@ jobs:
|
|||
- name: 'Setup pnpm'
|
||||
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'
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
- name: 'Checkout'
|
||||
uses: actions/checkout@v4.1.7
|
||||
|
||||
- name: 'Setup Node.js environment'
|
||||
- name: 'Setup Node.js "${{ matrix.node }}.x" environment'
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
|
@ -36,13 +36,12 @@ jobs:
|
|||
- name: 'Setup pnpm'
|
||||
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'
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
|
||||
- name: 'Get package info'
|
||||
id: package-info
|
||||
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
|
||||
|
||||
lerna bootstrap
|
||||
pnpm install
|
Loading…
Reference in New Issue