Skip to content

Commit e3328f6

Browse files
authored
Merge pull request #2381 from bugsnag/update-integration-typescript
Update integration typescript
2 parents 3ccba8a + a7b881f commit e3328f6

193 files changed

Lines changed: 15937 additions & 79791 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.buildkite/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Package manifest
2+
3+
The `package_manifest.json` includes a list of paths for each set of end-to-end tests, which when updated in a given PR, will automatically trigger those tests to be run. Otherwise, test suites can be manually unblocked and run on a case by case basis.

.buildkite/basic/browser-pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ steps:
66
- group: "Browser Tests"
77
steps:
88
- label: ":docker: Maze Runner image - BitBar browsers"
9+
depends_on: "package-js"
910
key: "browser-maze-runner-bb"
1011
timeout_in_minutes: 20
1112
plugins:
@@ -26,6 +27,7 @@ steps:
2627
limit: 1
2728

2829
- label: ":docker: Maze Runner image - BrowserStack browsers"
30+
depends_on: "package-js"
2931
key: "browser-maze-runner-bs"
3032
timeout_in_minutes: 20
3133
plugins:
Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
11
steps:
22

3-
#
4-
# Node 14
5-
#
6-
- label: "Electron {{matrix.electron_version}} tests - macOS - Node {{matrix.node_version}}"
7-
timeout_in_minutes: 40
8-
agents:
9-
queue: macos-14
10-
env:
11-
NODE_VERSION: "{{matrix.node_version}}"
12-
ELECTRON_VERSION: "{{matrix.electron_version}}"
13-
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
14-
START_LOCAL_NPM: "1"
15-
VERBOSE: "1"
16-
matrix:
17-
setup:
18-
electron_version:
19-
- "^20.0.0"
20-
- "^24.0.0"
21-
- "^26.0.0"
22-
- "^28.0.0"
23-
- "^30.0.0"
24-
node_version:
25-
- "18"
26-
commands:
27-
- echo "Running on Node `node -v`"
28-
- npm install electron@${ELECTRON_VERSION} --no-audit --progress=false --no-save
29-
- npm ci --no-audit --progress=false
30-
- npm run build
31-
- defaults write com.apple.CrashReporter DialogType none
32-
- npm run test:unit:electron-runner
33-
- npm run test:electron
3+
- group: ":electron: Electron Tests"
4+
steps:
5+
- label: "Electron {{matrix.electron_version}} tests - macOS - Node {{matrix.node_version}}"
6+
timeout_in_minutes: 40
7+
agents:
8+
queue: macos-node-18
9+
env:
10+
NODE_VERSION: "{{matrix.node_version}}"
11+
ELECTRON_VERSION: "{{matrix.electron_version}}"
12+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
13+
START_LOCAL_NPM: "1"
14+
VERBOSE: "1"
15+
matrix:
16+
setup:
17+
electron_version:
18+
- "^20.0.0"
19+
- "^24.0.0"
20+
- "^26.0.0"
21+
- "^28.0.0"
22+
- "^30.0.0"
23+
node_version:
24+
- "18"
25+
commands:
26+
- echo "Running on Node `node -v`"
27+
- npm install electron@${ELECTRON_VERSION} --no-audit --progress=false --no-save
28+
- npm ci --no-audit --progress=false
29+
- npm run build
30+
- defaults write com.apple.CrashReporter DialogType none
31+
- npm run test:unit:electron-runner
32+
- npm run test:electron

.buildkite/basic/expo-pipeline.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
agents:
2+
queue: "opensource"
3+
4+
steps:
5+
- group: ":expo: Expo Tests"
6+
steps:
7+
- label: "@bugsnag/expo latest"
8+
depends_on: "publish-js"
9+
trigger: "bugsnag-expo"
10+
build:
11+
branch: "v52/next"
12+
env:
13+
BUGSNAG_JS_BRANCH: "${BUILDKITE_BRANCH}"
14+
BUGSNAG_JS_COMMIT: "${BUILDKITE_COMMIT}"
15+
# a branch name that's safe to use as a docker cache identifier
16+
BUGSNAG_JS_CACHE_SAFE_BRANCH_NAME: "${BRANCH_NAME}"
17+
18+
- label: "@bugsnag/expo v51/next"
19+
depends_on: "publish-js"
20+
trigger: "bugsnag-expo"
21+
build:
22+
branch: "v51/next"
23+
env:
24+
BUGSNAG_JS_BRANCH: "${BUILDKITE_BRANCH}"
25+
BUGSNAG_JS_COMMIT: "${BUILDKITE_COMMIT}"
26+
# a branch name that's safe to use as a docker cache identifier
27+
BUGSNAG_JS_CACHE_SAFE_BRANCH_NAME: "${BRANCH_NAME}"
28+
29+
- label: "@bugsnag/expo v50/next"
30+
depends_on: "publish-js"
31+
trigger: "bugsnag-expo"
32+
build:
33+
branch: "v50/next"
34+
env:
35+
BUGSNAG_JS_BRANCH: "${BUILDKITE_BRANCH}"
36+
BUGSNAG_JS_COMMIT: "${BUILDKITE_COMMIT}"
37+
# a branch name that's safe to use as a docker cache identifier
38+
BUGSNAG_JS_CACHE_SAFE_BRANCH_NAME: "${BRANCH_NAME}"

.buildkite/basic/node-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ agents:
33

44
steps:
55

6-
- group: "Node Tests"
6+
- group: ":node: Node Tests"
77
steps:
88
- label: ":docker: Build node maze runner image"
99
key: "node-maze-runner-image"
10+
depends_on: "package-js"
1011
timeout_in_minutes: 20
1112
plugins:
1213
- artifacts#v1.5.0:

0 commit comments

Comments
 (0)