File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Canary tests failed
3
+ labels : ' Status: Untriaged'
4
+ ---
5
+ Canary tests failed: {{ env.RUN_LINK }}
Original file line number Diff line number Diff line change 1
- name : ' Build & Test '
1
+ name : ' Canary Tests '
2
2
on :
3
3
schedule :
4
4
# Runs "at minute 55 past every hour" (see https://crontab.guru)
11
11
required : false
12
12
13
13
env :
14
- # We pin the exact version to enforce reproducable builds with node + npm.
15
- DEFAULT_NODE_VERSION : ' 16.15.1'
16
14
HEAD_COMMIT : ${{ github.event.inputs.commit || github.sha }}
17
15
16
+ permissions :
17
+ contents : read
18
+ issues : write
19
+
18
20
jobs :
19
21
job_canary_test :
20
22
name : Run Canary Tests
28
30
- name : Set up Node
29
31
uses : actions/setup-node@v1
30
32
with :
31
- node-version : ${{ env.DEFAULT_NODE_VERSION }}
33
+ # ember won't build under node 16, at least not with the versions of the ember build tools we use
34
+ node-version : ' 14'
32
35
- name : Install dependencies
33
36
run : yarn install --ignore-engines --frozen-lockfile
34
37
- name : Build packages
42
45
run : |
43
46
cd packages/e2e-tests
44
47
yarn test:e2e
48
+ - name : Create Issue
49
+ if : failure()
50
+ - uses : JasonEtco/create-an-issue@1a16035489d05041b9af40b970f02e301c52ffba
51
+ env :
52
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
+ RUN_LINK : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
54
+ with :
55
+ filename : .github/CANARY_FAILURE_TEMPLATE.md
You can’t perform that action at this time.
0 commit comments