-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
52 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,17 +17,26 @@ jobs: | |
- ubuntu | ||
- macos | ||
node: | ||
- 16 | ||
- 22 | ||
steps: | ||
- name: 'Checkout' | ||
uses: actions/[email protected] | ||
|
||
- name: 'Setup Node.js environment' | ||
- name: 'Setup Node.js "${{ matrix.node }}.x" environment' | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
registry-url: https://npm.pkg.github.com/ | ||
|
||
- name: 'Setup pnpm' | ||
uses: pnpm/action-setup@v4 | ||
|
||
- 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 | ||
|
@@ -41,44 +50,32 @@ jobs: | |
echo "github.ref = ${{ github.ref }}"; | ||
echo "github.ref_name = ${{ github.ref_name }}"; | ||
- name: 'npm install -g lerna@6/yarn' | ||
run: | | ||
echo "======================================================================"; | ||
echo "npm install -g lerna@6"; | ||
echo "--------------------"; | ||
npm install -g lerna@6; | ||
echo "======================================================================"; | ||
echo "npm install -g yarn"; | ||
echo "--------------------"; | ||
npm install -g yarn; | ||
- name: 'npm -v | yarn -v | lerna -v' | ||
- name: 'npm -v | pnpm -v | python --version' | ||
run: | | ||
echo "======================================================================"; | ||
echo "npm -v"; | ||
echo "--------------------"; | ||
npm -v; | ||
echo "======================================================================"; | ||
echo "yarn -v"; | ||
echo "pnpm -v"; | ||
echo "--------------------"; | ||
yarn -v; | ||
pnpm -v; | ||
echo "======================================================================"; | ||
echo "lerna -v"; | ||
echo "python --version"; | ||
echo "--------------------"; | ||
lerna -v; | ||
python --version; | ||
- name: 'lerna bootstrap' | ||
- name: 'pnpm install' | ||
run: | | ||
echo "======================================================================"; | ||
dir || ls -lah; | ||
echo "======================================================================"; | ||
echo "lerna bootstrap --npm-client=yarn"; | ||
echo "pnpm install"; | ||
echo "--------------------"; | ||
lerna bootstrap --npm-client=yarn; | ||
pnpm install; | ||
- name: 'npm run electron:build' | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,17 +22,26 @@ jobs: | |
- ubuntu | ||
- macos | ||
node: | ||
- 16 | ||
- 22 | ||
steps: | ||
- name: 'Checkout' | ||
uses: actions/[email protected] | ||
|
||
- name: 'Setup Node.js environment' | ||
- name: 'Setup Node.js "${{ matrix.node }}.x" environment' | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
registry-url: https://npm.pkg.github.com/ | ||
|
||
- name: 'Setup pnpm' | ||
uses: pnpm/action-setup@v4 | ||
|
||
- 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 | ||
|
@@ -46,44 +55,32 @@ jobs: | |
echo "github.ref = ${{ github.ref }}"; | ||
echo "github.ref_name = ${{ github.ref_name }}"; | ||
- name: 'npm install -g lerna@6/yarn' | ||
run: | | ||
echo "======================================================================"; | ||
echo "npm install -g lerna@6"; | ||
echo "--------------------"; | ||
npm install -g lerna@6; | ||
echo "======================================================================"; | ||
echo "npm install -g yarn"; | ||
echo "--------------------"; | ||
npm install -g yarn; | ||
- name: 'npm -v | yarn -v | lerna -v' | ||
- name: 'npm -v | pnpm -v | python --version' | ||
run: | | ||
echo "======================================================================"; | ||
echo "npm -v"; | ||
echo "--------------------"; | ||
npm -v; | ||
echo "======================================================================"; | ||
echo "yarn -v"; | ||
echo "pnpm -v"; | ||
echo "--------------------"; | ||
yarn -v; | ||
pnpm -v; | ||
echo "======================================================================"; | ||
echo "lerna -v"; | ||
echo "python --version"; | ||
echo "--------------------"; | ||
lerna -v; | ||
python --version; | ||
- name: 'lerna bootstrap' | ||
- name: 'pnpm install' | ||
run: | | ||
echo "======================================================================"; | ||
dir || ls -lah; | ||
echo "======================================================================"; | ||
echo "lerna bootstrap --npm-client=yarn"; | ||
echo "pnpm install"; | ||
echo "--------------------"; | ||
lerna bootstrap --npm-client=yarn; | ||
pnpm install; | ||
- name: 'npm run electron:build' | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
shamefully-hoist=true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cd ../ | ||
|
||
node -v | ||
|
||
npm install -g pnpm --registry=https://registry.npmmirror.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ cd ../ | |
|
||
node -v | ||
|
||
lerna bootstrap | ||
pnpm install |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
{ | ||
"name": "dev-sidecar-parent", | ||
"packageManager": "[email protected]", | ||
"private": false, | ||
"author": "Greper", | ||
"license": "MPL-2.0", | ||
"dependencies": { | ||
}, | ||
"devDependencies": { | ||
"lerna": "^6.6.2" | ||
} | ||
"license": "MPL-2.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters