fix: tsx must be loaded with --import instead of --loader (#3225)

* fix: tsx must be loaded with --import instead of --loader

* fix: update ci

* fix: update ci
This commit is contained in:
chenos 2023-12-18 22:41:14 +08:00 committed by GitHub
parent b86193c349
commit 6d04914e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,7 @@ on:
- main - main
- develop - develop
paths: paths:
- 'package.json'
- 'packages/core/acl/**' - 'packages/core/acl/**'
- 'packages/core/actions/**' - 'packages/core/actions/**'
- 'packages/core/database/**' - 'packages/core/database/**'
@ -14,6 +15,7 @@ on:
- '.github/workflows/nocobase-test-backend.yml' - '.github/workflows/nocobase-test-backend.yml'
pull_request: pull_request:
paths: paths:
- 'package.json'
- 'packages/core/acl/**' - 'packages/core/acl/**'
- 'packages/core/actions/**' - 'packages/core/actions/**'
- 'packages/core/database/**' - 'packages/core/database/**'

View File

@ -6,13 +6,13 @@ on:
- 'main' - 'main'
- 'develop' - 'develop'
paths: paths:
- '.github/workflows/nocobase-build-test.yml' - '.github/workflows/nocobase-test-e2e.yml'
- 'packages/**' - 'packages/**'
pull_request: pull_request:
branches: branches:
- '**' - '**'
paths: paths:
- '.github/workflows/nocobase-build-test.yml' - '.github/workflows/nocobase-test-e2e.yml'
- 'packages/**' - 'packages/**'
jobs: jobs:

View File

@ -97,6 +97,7 @@
"pretty-quick": "^3.1.0", "pretty-quick": "^3.1.0",
"react": "^18.0.0", "react": "^18.0.0",
"react-dom": "^18.0.0", "react-dom": "^18.0.0",
"tsx": "^4.6.2",
"ts-jest": "^29.1.1", "ts-jest": "^29.1.1",
"typescript": "5.1.3", "typescript": "5.1.3",
"vite": "^4.4.9", "vite": "^4.4.9",