提交 781394e5 编写于 作者: C chenshuai2144

👷 CI : fix azure-pipelines

上级 77812905
......@@ -16,12 +16,14 @@ jobs:
- name: plugins
run: yarn add umi-plugin-antd-theme umi-plugin-pro
- name: site
run: npm run site
- name: deploy
uses: peaceiris/actions-gh-pages@v2
uses: peaceiris/actions-gh-pages@v3
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTION_TOKEN }}
github_token: ${{ secrets.ACTION_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./dist
with:
......
......@@ -16,7 +16,7 @@ jobs:
steps:
- checkout: self
clean: false
- script: npm install
- script: npm install --force
displayName: install
- script: npm run lint
displayName: lint
......@@ -31,12 +31,13 @@ jobs:
pool:
vmImage: 'Ubuntu-16.04'
container:
image: circleci/node:latest-browsers
options: '-u root'
steps:
- script: npm install
- checkout: self
clean: false
- task: NodeTool@0
inputs:
versionSpec: '14.x'
- script: npm install --force
displayName: install
- script: npm run test:all
env:
......@@ -50,8 +51,8 @@ jobs:
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
- script: npm install
versionSpec: '14.x'
- script: npm install --force
displayName: install
- script: npm run lint
displayName: lint
......@@ -73,8 +74,8 @@ jobs:
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
- script: npm install
versionSpec: '14.x'
- script: npm install --force
displayName: install
- script: npm run lint
displayName: lint
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册