Skip to content

Commit

Permalink
!69 修复几个细节问题
Browse files Browse the repository at this point in the history
Merge pull request !69 from devzyh/master
  • Loading branch information
lbw authored and gitee-org committed Sep 17, 2023
2 parents 999704d + bc7322c commit aa58d31
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 11,704 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: build

on:
push:
branches:
- master
- dev

jobs:
task:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
node-version: [16.x, 18.x]
npm-client: [npm, yarn, pnpm]

steps:
- uses: pnpm/action-setup@v2
if: matrix.npm-client == 'pnpm'
name: Install pnpm
with:
version: 7
run_install: false

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Check out code
uses: actions/checkout@v2

- name: Install dependencies
run: ${{ matrix.npm-client }} install

- name: Build
run: ${{ matrix.npm-client }} run build

- name: Notify failure
if: ${{ failure() }}
env:
QYWX_ROBOT_URL: ${{ secrets.QYWX_ROBOT_URL }}
run: |
curl -H "Content-Type: application/json" -X POST -d '{
"msgtype": "text",
"text": {
"content": "UI 编译任务任务执行失败,请检查!https://github.com/pig-mesh/pig-ui"
}
}' $QYWX_ROBOT_URL
Loading

0 comments on commit aa58d31

Please sign in to comment.