Skip to content

Commit c4f898a

Browse files
test workflow
1 parent ab73917 commit c4f898a

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/publish-comps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
with:
3636
node-version: 16
3737
registry-url: https://registry.npmjs.org/
38-
- run: cat .npmrc
39-
- run: echo ${{ secrets.NPM_TOKEN }}
38+
# - run: cat .npmrc
39+
# - run: echo ${{ secrets.NPM_TOKEN }}
4040
- name: Install dependencies
4141
uses: borales/actions-yarn@v4.2.0
4242
with:
@@ -48,4 +48,4 @@ jobs:
4848
cmd: build_publish
4949
dir: client/packages/lowcoder-comps
5050
env:
51-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
51+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

client/config/test/jest.setup-after-env.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ window.ResizeObserver = function () {
2222
};
2323
};
2424

25-
// window.ImageData = {}
26-
// window.MediaStreamTrack = {}
27-
// window.URL.createObjectURL = () => {}
2825
Object.defineProperty(window, 'ImageData', { value: 'yourValue' });
2926
Object.defineProperty(window, 'MediaStreamTrack', { value: 'yourValue' });
3027
Object.defineProperty(window, 'URL', {

0 commit comments

Comments
 (0)