File tree 1 file changed +5
-9
lines changed
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -126,13 +126,14 @@ jobs:
126
126
working-directory : sass-spec
127
127
128
128
sass_spec_js_embedded :
129
- name : ' JS API Tests | Embedded | Node ${{ matrix.node-version }} | ${{ matrix.os }}'
129
+ name : " JS API Tests | Embedded ${{ matrix.js && 'Pure JS' || 'Dart' }} | Node ${{ matrix.node-version }} | ${{ matrix.os }}"
130
130
runs-on : ${{ matrix.os }}
131
131
if : " github.event_name != 'pull_request' || !contains(github.event.pull_request.body, 'skip sass-embedded')"
132
132
133
133
strategy :
134
134
fail-fast : false
135
135
matrix :
136
+ js : [true, false]
136
137
os : [ubuntu-latest, windows-latest, macos-latest]
137
138
node-version : ['lts/*']
138
139
include :
@@ -166,19 +167,14 @@ jobs:
166
167
- name : Initialize embedded host
167
168
run : |
168
169
npm install
169
- npm run init -- --compiler-path=.. --language-path=../build/language
170
+ npm run init -- --compiler-path=.. --language-path=../build/language --compiler-js=${{ matrix.js && 'true' || 'false' }}
170
171
npm run compile
171
- mv {`pwd`/,dist/}lib/src/vendor/dart-sass
172
172
working-directory : embedded-host-node
173
173
174
174
- name : Version info
175
175
run : |
176
- path=embedded-host-node/dist/lib/src/vendor/dart-sass/sass
177
- if [[ -f "$path.cmd" ]]; then "./$path.cmd" --version
178
- elif [[ -f "$path.bat" ]]; then "./$path.bat" --version
179
- elif [[ -f "$path.exe" ]]; then "./$path.exe" --version
180
- else "./$path" --version
181
- fi
176
+ npx sass --version
177
+ working-directory : embedded-host-node
182
178
183
179
- name : Run tests
184
180
run : npm run js-api-spec -- --sassPackage ../embedded-host-node --sassSassRepo ../build/language
You can’t perform that action at this time.
0 commit comments