Skip to content

fix: 修复 avue 中 axios 未跨域的问题 #406

fix: 修复 avue 中 axios 未跨域的问题

fix: 修复 avue 中 axios 未跨域的问题 #406

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: "latest"
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "pnpm"
- name: Cache Dependency
uses: actions/cache@v4
with:
path: |
~/.npm
~/.yarn
~/.cache/pnpm
~/cache
!~/cache/exclude
**/node_modules
key: pnpm-${{ runner.os }}-${{ hashFiles('package.json') }}
restore-keys: pnpm-${{ runner.os }}
- run: pnpm i --frozen-lockfile
- run: pnpm run lint
- run: pnpm run lint:css
- run: pnpm run build
# - env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: pnpm run release