Skip to content

Commit 008bbef

Browse files
authored
Update embedded-host-node release pipeline (#2609)
1 parent d3e1abf commit 008bbef

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

.github/workflows/test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)