diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 983004887..cd22464c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/test/yarn/package.json b/test/yarn/package.json new file mode 100644 index 000000000..e4055e735 --- /dev/null +++ b/test/yarn/package.json @@ -0,0 +1,4 @@ +{ + "name": "yarn-regression", + "dependencies": {} +}