File tree Expand file tree Collapse file tree 2 files changed +45
-4
lines changed Expand file tree Collapse file tree 2 files changed +45
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ permissions:
18
18
19
19
jobs :
20
20
job_canary_test :
21
- name : Run Canary Tests
21
+ name : Canary Tests
22
22
runs-on : ubuntu-20.04
23
23
timeout-minutes : 30
24
24
steps :
55
55
RUN_LINK : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
56
56
with :
57
57
filename : .github/CANARY_FAILURE_TEMPLATE.md
58
+
59
+ job_ember_canary_test :
60
+ name : Ember Canary Tests
61
+ runs-on : ubuntu-20.04
62
+ timeout-minutes : 30
63
+ strategy :
64
+ fail-fast : false
65
+ matrix :
66
+ scenario : [ember-release, embroider-optimized, ember-4.0]
67
+ steps :
68
+ - name : ' Check out current commit'
69
+ uses : actions/checkout@v3
70
+ with :
71
+ ref : ${{ env.HEAD_COMMIT }}
72
+ - name : Set up Node
73
+ uses : volta-cli/action@v4
74
+
75
+ - name : Install dependencies
76
+ run : yarn install --ignore-engines --frozen-lockfile
77
+
78
+ - name : Build dependencies
79
+ run : |
80
+ yarn lerna run build:types --scope=@sentry/ember --include-dependencies
81
+ yarn lerna run build:transpile --scope=@sentry/ember --include-dependencies
82
+
83
+ - name : Run Ember tests
84
+ run : |
85
+ cd packages/ember
86
+ yarn ember try:one ${{ matrix.scenario }} --skip-cleanup=true
87
+
88
+ - name : Create Issue
89
+ if : failure()
90
+ uses : JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd
91
+ env :
92
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
93
+ RUN_LINK : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
94
+ with :
95
+ filename : .github/CANARY_FAILURE_TEMPLATE.md
Original file line number Diff line number Diff line change 17
17
"test" : " tests"
18
18
},
19
19
"scripts" : {
20
- "build:uncached" : " ember build --environment=production" ,
20
+ "build" : " ember build --environment=test --output-path=build" ,
21
+ "build:dev" : " yarn build" ,
22
+ "build:dev:watch" : " ember build --environment=test --output-path=build --watch" ,
21
23
"build:tarball" : " ember ts:precompile && npm pack && ember ts:clean" ,
22
- "clean" : " yarn rimraf sentry-ember-*.tgz" ,
24
+ "clean" : " yarn rimraf sentry-ember-*.tgz dist tmp build .node_modules.ember-try package.json.ember-try " ,
23
25
"lint" : " run-p lint:js lint:hbs lint:ts" ,
24
26
"lint:hbs" : " ember-template-lint ." ,
25
27
"lint:js" : " eslint . --cache --cache-location '../../eslintcache/'" ,
26
28
"lint:ts" : " tsc" ,
27
29
"start" : " ember serve" ,
28
- "test" : " ember test" ,
30
+ "test" : " ember test --path=build" ,
31
+ "test:uncached" : " ember test" ,
29
32
"test:all" : " ember try:each"
30
33
},
31
34
"dependencies" : {
You can’t perform that action at this time.
0 commit comments