小调整。
parent
01c8b367a8
commit
ba904a60c3
|
@ -10,20 +10,14 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
# job 1
|
# job 1
|
||||||
build-and-upload:
|
build-and-upload:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [
|
os: [
|
||||||
windows-latest,
|
windows,
|
||||||
ubuntu-latest,
|
ubuntu,
|
||||||
macos-latest
|
macos
|
||||||
]
|
|
||||||
node: [
|
|
||||||
16
|
|
||||||
]
|
|
||||||
lerna: [
|
|
||||||
6
|
|
||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
|
@ -32,7 +26,7 @@ jobs:
|
||||||
- name: "Setup Node.js environment"
|
- name: "Setup Node.js environment"
|
||||||
uses: actions/setup-node@v4.0.3
|
uses: actions/setup-node@v4.0.3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: 16
|
||||||
registry-url: https://npm.pkg.github.com/
|
registry-url: https://npm.pkg.github.com/
|
||||||
|
|
||||||
- name: "Get package info"
|
- name: "Get package info"
|
||||||
|
@ -51,9 +45,9 @@ jobs:
|
||||||
- name: "npm install lerna/yarn -g"
|
- name: "npm install lerna/yarn -g"
|
||||||
run: |
|
run: |
|
||||||
echo "======================================================================";
|
echo "======================================================================";
|
||||||
echo "npm install lerna@${{ matrix.lerna }} -g";
|
echo "npm install lerna@6 -g";
|
||||||
echo "--------------------";
|
echo "--------------------";
|
||||||
npm install lerna@${{ matrix.lerna }} -g;
|
npm install lerna@6 -g;
|
||||||
|
|
||||||
echo "======================================================================";
|
echo "======================================================================";
|
||||||
echo "npm install yarn -g";
|
echo "npm install yarn -g";
|
||||||
|
|
Loading…
Reference in New Issue