File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,18 @@ jobs:
20
20
- name : Set up Node.js
21
21
uses : actions/setup-node@v3
22
22
with :
23
- node-version : 16
23
+ node-version : 18
24
24
cache : yarn
25
25
26
26
- name : Yarn install
27
27
run : yarn install
28
28
29
29
- name : ESLint
30
- if : ${{ always () }}
30
+ if : ${{ !cancelled () }}
31
31
run : yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern {test,javascripts}
32
32
33
33
- name : Prettier
34
- if : ${{ always () }}
34
+ if : ${{ !cancelled () }}
35
35
shell : bash
36
36
run : |
37
37
yarn prettier -v
44
44
fi
45
45
46
46
- name : Ember template lint
47
- if : ${{ always () }}
47
+ if : ${{ !cancelled () }}
48
48
run : yarn ember-template-lint --no-error-on-unmatched-pattern javascripts
Original file line number Diff line number Diff line change @@ -139,9 +139,14 @@ jobs:
139
139
if : steps.app-cache.outputs.cache-hit != 'true'
140
140
run : rm -rf tmp/app-cache/uploads && cp -r public/uploads tmp/app-cache/uploads
141
141
142
+ - name : Create theme archive
143
+ run : |
144
+ cd tmp/component
145
+ git archive --format=tar.gz HEAD > ../../theme.tar.gz
146
+
142
147
- name : Component QUnit
143
148
run : |
144
149
THEME_NAME=$(ruby -e 'require "json"; puts JSON.parse(File.read("tmp/component/about.json"))["name"]')
145
- bundle exec rake themes:install -- "--{\"$THEME_NAME\": \"tmp/component\"}"
150
+ THEME_ARCHIVE=theme.tar.gz bundle exec rake themes:install:archive
146
151
UNICORN_TIMEOUT=120 bundle exec rake "themes:qunit[name,$THEME_NAME]"
147
152
timeout-minutes : 10
You can’t perform that action at this time.
0 commit comments