File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,8 @@ jobs:
216216 for dir in $(ls npm); do
217217 cat "npm/$dir/package.json" |
218218 jq --arg version ${{ steps.version.outputs.version }} '
219- .version |= $version
219+ .version |= $version |
220+ if (.dependencies.sass) then .dependencies.sass |= $version end
220221 ' > package.json.tmp &&
221222 mv package.json.tmp "npm/$dir/package.json"
222223 done
Original file line number Diff line number Diff line change @@ -170,17 +170,11 @@ jobs:
170170 npm install
171171 npm run init -- --compiler-path=.. --language-path=../build/language
172172 npm run compile
173- mv {`pwd`/,dist/}lib/src/vendor/dart-sass
174173 working-directory : embedded-host-node
175174
176175 - name : Version info
177- run : |
178- path=embedded-host-node/dist/lib/src/vendor/dart-sass/sass
179- if [[ -f "$path.cmd" ]]; then "./$path.cmd" --version
180- elif [[ -f "$path.bat" ]]; then "./$path.bat" --version
181- elif [[ -f "$path.exe" ]]; then "./$path.exe" --version
182- else "./$path" --version
183- fi
176+ run : node dist/bin/sass.js --version
177+ working-directory : embedded-host-node
184178
185179 - name : Run tests
186180 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