-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathci.yml
66 lines (58 loc) · 1.49 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
provider: github
template: "v2-addon"
# ---------------------
addon: './ember-resources'
testApp: './testing/ember-app'
lint:
cmd: 'pnpm lint'
build:
run: 'pnpm build:js'
expect: |
core/index.js
core/class-based/index.js
core/function-based/index.js
util/map.js
util/helper.js
util/debounce.js
util/function.js
util/ember-concurrency.js
index.js
index.js.map
index.d.ts
support:
ember-try: true
glint: true
typescript:
- typescript@4.5
- typescript@4.6
- typescript@4.7
# - typescript@4.8
release:
changeset: true
extra:
- name: Measure Asset Sizes
needs: ['build']
steps:
# ember-ci-update inserts preamble here
- name: 'measure asset sizes'
run: node ./build/estimate-bytes/index.js
- name: comment on PR
uses: marocchino/sticky-pull-request-comment@v2
with:
path: ./build/estimate-bytes/comment.txt
# Pending: ability to comment on PRs
# Pending: actually working (mising styles)
# - name: Build and Deploy Docs
# needs: ['build']
# steps:
# - name: 'Build'
# run: pnpm docs:collect
# working-directory: './docs'
# - name: Publish
# uses: cloudflare/pages-action@1
# with:
# apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
# accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# projectName: 'ember-resources'
# directory: 'docs/dist'
# gitHubToken: ${{ secrets.GITHUB_TOKEN }}