Skip to content

chore: 框架升级到最新版本 #58

chore: 框架升级到最新版本

chore: 框架升级到最新版本 #58

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
with:
ref: main
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Build project
run: yarn && yarn build
- name: Upload COS
uses: zkqiang/[email protected]
with:
args: upload -rs --delete -y ./build/ /
secret_id: ${{ secrets.SECRET_ID }}
secret_key: ${{ secrets.SECRET_KEY }}
bucket: ${{ secrets.BUCKET }}
region: ap-shanghai