Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Jan 20, 2025
1 parent ecdf721 commit ff8eb37
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI lib
name: CI lib/core

on:
push:
Expand All @@ -13,6 +13,6 @@ jobs:
with:
os: 'ubuntu-latest, windows-latest'
version: '18, 20'
test: 'npm run ci:lib'
test: 'npm run ci:lib/core'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/nodejs-lib-plugins.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI lib/plugins

on:
push:
branches: [ master, next ]
pull_request:
branches: [ master, next ]

jobs:
Job:
name: Node.js
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
with:
os: 'ubuntu-latest, windows-latest'
version: '18, 20'
test: 'npm run ci:lib/plugins'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@
"ci:app": "npm run ci \"test/app/**/*.test.ts,test/*.test.ts\"",
"ci:cluster1": "npm run ci \"test/cluster1/**/*.test.ts\"",
"ci:cluster2": "npm run ci \"test/cluster2/**/*.test.ts\"",
"ci:lib": "npm run ci \"test/lib/**/*.test.ts\"",
"ci:lib/core": "npm run ci \"test/lib/core/**/*.test.ts\"",
"ci:lib/plugins": "npm run ci \"test/lib/plugins/**/*.test.ts\"",
"site:dev": "cross-env APP_ROOT=./site dumi dev",
"site:build": "cross-env APP_ROOT=./site dumi build",
"site:prettier": "prettier --config site/.prettierrc --ignore-path site/.prettierignore --write \"site/**/*.{js,jsx,tsx,ts,less,md,json}\"",
Expand Down

0 comments on commit ff8eb37

Please sign in to comment.