Bump path-to-regexp from 2.4.0 to 8.0.0 #2
Workflow file for this 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
name: Deploy CI | |
on: [push] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- run: npm install | |
- run: npm run lint | |
# - run: yarn run tsc | |
- name: Build and Deploy | |
uses: JamesIves/github-pages-deploy-action@master | |
env: | |
CI: true | |
GA_KEY: UA-72788897-6 | |
PROGRESS: none | |
GIT_CONFIG_NAME: qixian.cs | |
GIT_CONFIG_EMAIL: [email protected] | |
NODE_OPTIONS: --max_old_space_size=4096 | |
ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: site | |
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: 'dist/' | |
BUILD_SCRIPT: npm install && npm uninstall husky && yarn add umi-plugin-antd-theme umi-plugin-pro && npm run site && git checkout . && git clean -df |