-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from macbre/tests-node-sass
Run tests with node-sass installed
- Loading branch information
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,19 @@ jobs: | |
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm test | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Lint the code | ||
run: npm run lint | ||
|
||
- name: Run tests (with node-sass support) | ||
run: | | ||
npm install [email protected] | ||
npm test | ||
- name: Check that "binary" script works | ||
run: ./bin/analyze-css.js --file examples/ti.mobile.css -p | grep metrics -B2 | ||
run: | | ||
./bin/analyze-css.js --file examples/ti.mobile.css -p | grep metrics -B2 | ||
./bin/analyze-css.js --file examples/base.scss -p | grep offenders -A3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters