Skip to content

Commit

Permalink
fix: yarn exec regession
Browse files Browse the repository at this point in the history
  • Loading branch information
iChenLei committed May 31, 2022
1 parent 5fe4a0d commit 02bb11f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -80,6 +80,25 @@ jobs:
- name: Run Benchmark
run: node ./bm.js

yarn-regression:
name: 'yarn exec stylus regression test'
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install npm dependencies
run: npm install
- name: Print put node & npm version
run: node --version && npm --version
- name: Install yarn global
run: npm install -g yarn
- name: Run Yarn
run: cd ./test/yarn
run: yarn install
run: yarn run stylus --version

coverage:
name: 'Run nyc for code coverage'
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions test/yarn/package.json
@@ -0,0 +1,6 @@
{
"name": "yarn-regression",
"dependencies": {
"stylus": "file:../../"
}
}

0 comments on commit 02bb11f

Please sign in to comment.