Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: yarn bin execute regression #2692

Merged
merged 3 commits into from May 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -80,6 +80,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": {}
}