Skip to content

使用esbuild打包,线上禁用debugger/console #38

使用esbuild打包,线上禁用debugger/console

使用esbuild打包,线上禁用debugger/console #38

Workflow file for this run

name: my-components-v3
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.DEPLOY_V3_COMPONENTS }}
BRANCH: gh-pages
FOLDER: dist