1.use yarn (#769)

2.reinstall package

Signed-off-by: majian <majian159@live.com>
This commit is contained in:
majian
2020-12-12 02:28:08 +08:00
committed by GitHub
parent 3c35d9dadc
commit 7acc52ebdb
5 changed files with 176 additions and 185 deletions

View File

@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [10.x]
node-version: [12.x]
steps:
- uses: actions/checkout@v2
@@ -24,6 +24,6 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: yarn
- run: yarn build

View File

@@ -26,11 +26,11 @@ jobs:
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Run npm install
run: make npm-install
- name: Run npm build
run: make npm-build
node-version: 12.x
- name: Run dashboard install
run: make dashboard-install
- name: Run dashboard build
run: make dashboard-build
- name: Tag helm chart image
run: |
sed -i 's/latest/${{ steps.get_version.outputs.VERSION }}/g' charts/vela-core/values.yaml