Skip to content

Commit

Permalink
ci: yarn bin execute regression (#2692)
Browse files Browse the repository at this point in the history
* fix: yarn exec regession

* fix: ci yaml config

* fix: make it crash
  • Loading branch information
iChenLei committed May 31, 2022
1 parent c074634 commit bf3d169
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -65,6 +65,23 @@ 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: Print put node & npm version
run: node --version && npm --version
- name: Install yarn global
run: npm install -g yarn
- name: open a new folder
run: cd ./test/yarn
- name: Run Yarn
run: yarn install && yarn add stylus@latest && yarn run stylus

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

0 comments on commit bf3d169

Please sign in to comment.