Skip to content

Commit e864bba

Browse files
authored
Skip canaries for bot PRs (#1644)
1 parent e324f3b commit e864bba

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

.github/workflows/canary.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
release-canary:
1010
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
11+
if:
12+
${{ github.actor != 'dependabot[bot]' && github.actor !=
13+
'dependabot-preview[bot]' && github.actor != 'renovate[bot]' }}
1114
with:
1215
packageManager: pnpm
1316
npmTag: canary

packages/gqty/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"test-utils": "workspace:^0.1.0",
8181
"tsc-watch": "^6.0.0",
8282
"type-fest": "^3.9.0",
83+
"typescript": "^5.4.5",
8384
"wait-on": "^7.0.1",
8485
"ws": "^8.13.0"
8586
},

packages/react/jest.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = require('test-utils/jest.config.js').getConfig({
22
setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'],
3+
setupFiles: ['./jest.setup.ts'],
34
testEnvironment: 'jsdom',
45
});

packages/react/jest.setup.ts

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { TextDecoder, TextEncoder } from 'util';
2+
3+
Object.assign(globalThis, {
4+
clearImmediate: () => {
5+
// noop
6+
},
7+
TextEncoder,
8+
TextDecoder,
9+
});

pnpm-lock.yaml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)