Skip to content

Commit

Permalink
fix: vendors cannot found
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyuan0704 committed Nov 8, 2022
1 parent 345b76f commit 575d328
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:

- name: Build
run: pnpm run build
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

- name: Lint
run: pnpm run lint
Expand Down
7 changes: 6 additions & 1 deletion packages/island/src/node/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ export const ISLAND_JSX_RUNTIME_PATH = RUNTIME_BUNDLE_OUTDIR;

export const ISLAND_CLI_PATH = join(CLI_BUNDLE_OUTDIR, 'cli.js');

export const VENDOR_PATH = join(PACKAGE_ROOT_PATH, 'vendors');
export const VENDOR_PATH = join(
PACKAGE_ROOT_PATH,
'packages',
'island',
'vendors'
);

export const DIRECTIVE_TYPES: string[] = ['tip', 'warning', 'danger', 'info'];

Expand Down

0 comments on commit 575d328

Please sign in to comment.