mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 15:35:28 +00:00
d04a60d386
* fix: e2e-failed * fix: ci * fix: ci bug * fix: ci(skip server ci) * fix: ci [skip ci] * fix: ci(skip server ci) * fix: ci * fix: ci * fix: remove skip if --------- Co-authored-by: dream2023 <1098626505@qq.com>
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
name: NocoBase FrontEnd Test
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- develop
|
|
paths:
|
|
- 'packages/**'
|
|
- '.github/workflows/nocobase-test-frontend.yml'
|
|
- '!packages/core/acl/**'
|
|
- '!packages/core/actions/**'
|
|
- '!packages/core/database/**'
|
|
- '!packages/core/server/**'
|
|
- '!packages/plugins/**/src/server/**'
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/nocobase-test-frontend.yml'
|
|
- 'packages/**'
|
|
- '!packages/core/acl/**'
|
|
- '!packages/core/actions/**'
|
|
- '!packages/core/database/**'
|
|
- '!packages/core/server/**'
|
|
- '!packages/plugins/**/src/server/**'
|
|
|
|
jobs:
|
|
frontend-test:
|
|
strategy:
|
|
matrix:
|
|
node_version: [ '18' ]
|
|
runs-on: ubuntu-latest
|
|
container: node:${{ matrix.node_version }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node_version }}
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: ${{ matrix.node_version }}
|
|
cache: 'yarn'
|
|
- run: yarn install
|
|
- run: yarn test:client
|
|
timeout-minutes: 30
|