Skip to content

Commit

Permalink
fix(build/CI): Run prepublish scripts before building tarballs (#64)
Browse files Browse the repository at this point in the history
add a step to the CI job to actually run the `prepublish` build command before packing the tarballs.
  • Loading branch information
Lms24 authored Feb 24, 2023
1 parent 00c5d28 commit d34bf3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- name: Install Dependencies
run: yarn --frozen-lockfile

- name: Build Project
run: yarn lerna run prepublish

- name: Build Tarballs
run: yarn build:tarball

Expand Down
2 changes: 1 addition & 1 deletion packages/rrweb/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import record from './record';
import { Replayer } from './replay';
import { _mirror } from './utils';
import * as utils from './utils';
export { EventType, IncrementalSource, MouseInteractions, ReplayerEvents, } from './types';
export * from './types';
declare const addCustomEvent: <T>(tag: string, payload: T) => void;
declare const freezePage: () => void;
export { record, addCustomEvent, freezePage, Replayer, _mirror as mirror, utils, };

0 comments on commit d34bf3a

Please sign in to comment.