Skip to content

Commit

Permalink
chore: 补充脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
sdmu-gaoqi committed Jan 12, 2024
1 parent b0e2885 commit 534bd2a
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 1 deletion.
File renamed without changes.
17 changes: 17 additions & 0 deletions .github/workflows/pre.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish Package to npmjs

on:
push:
branches: [pre-develop]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
always-auth: true
node-version: 16
cache: 'yarn'
- run: sh scripts/build.sh pre
17 changes: 17 additions & 0 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish Package to npmjs

on:
push:
branches: [main, master, release, develop]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
always-auth: true
node-version: 16
cache: 'yarn'
- run: sh scripts/build.sh
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish Package to npmjs

on:
push:
branches: [test-develop]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
always-auth: true
node-version: 16
cache: 'yarn'
- run: sh scripts/build.sh test
7 changes: 6 additions & 1 deletion src/components/layout/layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
</div>
</a-layout-header>
<a-layout>
<a-layout-sider width="200" style="background: #fff" collapsible>
<a-layout-sider
width="200"
style="background: #fff"
collapsible
collapsedWidth="40"
>
<!-- 菜单栏区域 -->
<a-menu mode="inline" :style="{ height: '100%', borderRight: 0 }">
<template v-for="item in currentMenus" :key="item.key">
Expand Down

0 comments on commit 534bd2a

Please sign in to comment.