Fix shared JS API tests (#1537)

This commit is contained in:
Natalie Weizenbaum 2021-10-21 13:40:20 -07:00 committed by GitHub
parent 435e1b2f71
commit 5606602bfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,13 +86,13 @@ jobs:
uses: sass/clone-linked-repo@v1
with: {repo: sass/sass-spec}
- name: Install sass-spec dependencies
run: npm install
working-directory: sass-spec
- name: Build JS
run: dart pub run grinder pkg-npm-dev
- name: Link Dart Sass into sass-spec
run: npm install ../build/npm
working-directory: sass-spec
- name: Check out Sass specification
uses: sass/clone-linked-repo@v1
with:
@ -100,7 +100,7 @@ jobs:
path: language
- name: Run tests
run: npm run js-api-spec -- --sassSassRepo ../language
run: npm run js-api-spec -- --sassSassRepo ../language --sassPackage ../build/npm
working-directory: sass-spec
dart_tests: