mirror of
https://gitee.com/antv/g6.git
synced 2024-11-30 02:38:20 +08:00
c01a1e1aae
* feat: rect combo * feat: behaviors for rect combo * chore: lint * chore: update lock file up to date * chore: refine lock file * chore: update workflows * feat: comboCombined layout * chore: update layout * chore: update lock * chore: refine
50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
name: build
|
|
|
|
on: [push, pull_request]
|
|
|
|
concurrency:
|
|
group: ${{github.workflow}}-${{github.event_name}}-${{github.ref}}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: macos-latest
|
|
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
|
strategy:
|
|
matrix:
|
|
node-version: [16]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 8.0
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'pnpm'
|
|
|
|
# postInstall will build the product
|
|
- name: Install dependencies and Build the product
|
|
run: pnpm install --no-frozen-lockfile
|
|
|
|
- name: Run CI
|
|
run: |
|
|
cd packages/g6
|
|
npm run ci
|
|
|
|
- name: Workflow failed alert
|
|
if: ${{ failure() }}
|
|
uses: actions-cool/maintain-one-comment@main
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
body: |
|
|
你好, @${{ github.event.pull_request.user.login }} CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复
|
|
|
|
Hello, @${{ github.event.pull_request.user.login }} CI run failed, please click the [Details] button for detailed log information and fix it.
|
|
<!-- Created by actions-cool/maintain-one-comment -->
|
|
emojis: 'eyes'
|
|
body-include: '<!-- Created by actions-cool/maintain-one-comment -->'
|