fix CI error (#1045)
* fix CI error * change the CI triggering event to pull_request
This commit is contained in:
2
.github/workflows/ci-cd.yml
vendored
2
.github/workflows/ci-cd.yml
vendored
@@ -1,6 +1,6 @@
|
||||
name: Tests
|
||||
|
||||
on: [push, pull_request_target]
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ declare global {
|
||||
}
|
||||
|
||||
import { EventType, IncrementalSource } from 'rrweb';
|
||||
import type { eventWithTime } from 'rrweb/typings/types';
|
||||
import type { eventWithTime } from '@rrweb/types';
|
||||
|
||||
export function inlineCss(cssObj: Record<string, string>): string {
|
||||
let style = '';
|
||||
|
||||
3
packages/rrweb-player/typings/index.d.ts
vendored
Normal file → Executable file
3
packages/rrweb-player/typings/index.d.ts
vendored
Normal file → Executable file
@@ -1,4 +1,5 @@
|
||||
import { eventWithTime, playerConfig } from 'rrweb/typings/types';
|
||||
import { playerConfig } from 'rrweb/typings/types';
|
||||
import type { eventWithTime } from '@rrweb/types';
|
||||
import { Replayer, mirror } from 'rrweb';
|
||||
import { SvelteComponent } from 'svelte';
|
||||
|
||||
|
||||
@@ -9,24 +9,30 @@
|
||||
"preserveConstEnums": true,
|
||||
"rootDir": "src",
|
||||
"outDir": "build",
|
||||
"lib": ["es6", "dom"],
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"downlevelIteration": true,
|
||||
"importsNotUsedAsValues": "error",
|
||||
"strictBindCallApply": true,
|
||||
"composite": true
|
||||
},
|
||||
"references": [
|
||||
{
|
||||
"path": "../types"
|
||||
},
|
||||
{
|
||||
"path": "../rrdom"
|
||||
},
|
||||
{
|
||||
"path": "../rrweb-snapshot"
|
||||
},
|
||||
{
|
||||
"path": "../types"
|
||||
}
|
||||
],
|
||||
"exclude": ["test", "scripts"],
|
||||
"exclude": [
|
||||
"test",
|
||||
"scripts"
|
||||
],
|
||||
"include": [
|
||||
"src",
|
||||
"node_modules/@types/css-font-loading-module/index.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user