From 2a036733bc3fe20d7d4332b59a6ff754ee94623e Mon Sep 17 00:00:00 2001 From: Romain Menke <11521496+romainmenke@users.noreply.github.com> Date: Mon, 9 Sep 2024 22:34:03 +0200 Subject: [PATCH] Enable `@shopify/stylelint-plugin` (#43) * disable failing packages * enable @shopify/stylelint-plugin * readme * readme * workflows * fix --- ...ge-shopify-stylelint-plugin-a90.latest.yml | 29 +++++++++++++++++++ ...kage-shopify-stylelint-plugin-a90.next.yml | 29 +++++++++++++++++++ README.md | 3 +- data/ecosystem.yml | 16 +++++----- 4 files changed, 68 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/test-package-shopify-stylelint-plugin-a90.latest.yml create mode 100644 .github/workflows/test-package-shopify-stylelint-plugin-a90.next.yml diff --git a/.github/workflows/test-package-shopify-stylelint-plugin-a90.latest.yml b/.github/workflows/test-package-shopify-stylelint-plugin-a90.latest.yml new file mode 100644 index 0000000..53ca427 --- /dev/null +++ b/.github/workflows/test-package-shopify-stylelint-plugin-a90.latest.yml @@ -0,0 +1,29 @@ +name: '@shopify/stylelint-plugin' +on: + push: + branches: + - main + paths: + - .github/workflows/test-package.yml + - .github/workflows/test-package-shopify-stylelint-plugin-a90.latest.yml + pull_request: + paths: + - .github/workflows/test-package.yml + - .github/workflows/test-package-shopify-stylelint-plugin-a90.latest.yml + workflow_dispatch: null + schedule: + - cron: 0 0 * * * +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-shopify-stylelint-plugin-a90-latest + cancel-in-progress: true +jobs: + test: + uses: ./.github/workflows/test-package.yml + name: latest + with: + package: '@shopify/stylelint-plugin' + stylelint-version: stylelint@latest + install-command: yarn + list-installed-versions-command: yarn list --pattern stylelint + test-command: NODE_OPTIONS="--experimental-vm-modules --no-warnings" npx jest + --runInBand diff --git a/.github/workflows/test-package-shopify-stylelint-plugin-a90.next.yml b/.github/workflows/test-package-shopify-stylelint-plugin-a90.next.yml new file mode 100644 index 0000000..f24049c --- /dev/null +++ b/.github/workflows/test-package-shopify-stylelint-plugin-a90.next.yml @@ -0,0 +1,29 @@ +name: '@shopify/stylelint-plugin' +on: + push: + branches: + - main + paths: + - .github/workflows/test-package.yml + - .github/workflows/test-package-shopify-stylelint-plugin-a90.next.yml + pull_request: + paths: + - .github/workflows/test-package.yml + - .github/workflows/test-package-shopify-stylelint-plugin-a90.next.yml + workflow_dispatch: null + schedule: + - cron: 0 0 * * * +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-shopify-stylelint-plugin-a90-next + cancel-in-progress: true +jobs: + test: + uses: ./.github/workflows/test-package.yml + name: next + with: + package: '@shopify/stylelint-plugin' + stylelint-version: stylelint/stylelint + install-command: yarn + list-installed-versions-command: yarn list --pattern stylelint + test-command: NODE_OPTIONS="--experimental-vm-modules --no-warnings" npx jest + --runInBand diff --git a/README.md b/README.md index ff5eb20..1d52760 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ To see test results, click the status badge for the relevant package in the list | Package | Latest Stylelint | Next Stylelint | | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | | [![@primer/stylelint-config](https://img.shields.io/npm/v/@primer/stylelint-config.svg)](https://www.npmjs.com/package/@primer/stylelint-config) | [![latest](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-primer-stylelint-config-0ab.latest.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-primer-stylelint-config-0ab.latest.yml) | [![next](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-primer-stylelint-config-0ab.next.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-primer-stylelint-config-0ab.next.yml) | +| [![@shopify/stylelint-plugin](https://img.shields.io/npm/v/@shopify/stylelint-plugin.svg)](https://www.npmjs.com/package/@shopify/stylelint-plugin) | [![latest](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-shopify-stylelint-plugin-a90.latest.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-shopify-stylelint-plugin-a90.latest.yml) | [![next](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-shopify-stylelint-plugin-a90.next.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-shopify-stylelint-plugin-a90.next.yml) | | [![@stylistic/stylelint-config](https://img.shields.io/npm/v/@stylistic/stylelint-config.svg)](https://www.npmjs.com/package/@stylistic/stylelint-config) | [![latest](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylistic-stylelint-config-52f.latest.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylistic-stylelint-config-52f.latest.yml) | [![next](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylistic-stylelint-config-52f.next.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylistic-stylelint-config-52f.next.yml) | | [![@stylistic/stylelint-plugin](https://img.shields.io/npm/v/@stylistic/stylelint-plugin.svg)](https://www.npmjs.com/package/@stylistic/stylelint-plugin) | [![latest](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylistic-stylelint-plugin-ee6.latest.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylistic-stylelint-plugin-ee6.latest.yml) | [![next](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylistic-stylelint-plugin-ee6.next.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylistic-stylelint-plugin-ee6.next.yml) | | [![stylelint-actions-formatters](https://img.shields.io/npm/v/stylelint-actions-formatters.svg)](https://www.npmjs.com/package/stylelint-actions-formatters) | [![latest](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-actions-formatters-e5a.latest.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-actions-formatters-e5a.latest.yml) | [![next](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-actions-formatters-e5a.next.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-actions-formatters-e5a.next.yml) | @@ -56,7 +57,7 @@ To see test results, click the status badge for the relevant package in the list | [![stylelint-use-nesting](https://img.shields.io/npm/v/stylelint-use-nesting.svg)](https://www.npmjs.com/package/stylelint-use-nesting) | [![latest](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-use-nesting-54f.latest.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-use-nesting-54f.latest.yml) | [![next](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-use-nesting-54f.next.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-use-nesting-54f.next.yml) | | [![stylelint-value-no-unknown-custom-properties](https://img.shields.io/npm/v/stylelint-value-no-unknown-custom-properties.svg)](https://www.npmjs.com/package/stylelint-value-no-unknown-custom-properties) | [![latest](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-value-no-unknown-custom-properties-2f3.latest.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-value-no-unknown-custom-properties-2f3.latest.yml) | [![next](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-value-no-unknown-custom-properties-2f3.next.yml/badge.svg)](https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-value-no-unknown-custom-properties-2f3.next.yml) | -Total 41 packages +Total 42 packages diff --git a/data/ecosystem.yml b/data/ecosystem.yml index 3c462b0..6ce478d 100644 --- a/data/ecosystem.yml +++ b/data/ecosystem.yml @@ -1,14 +1,14 @@ packages: # In alphabetical order - '@primer/stylelint-config' - # - [ - # '@shopify/stylelint-plugin', - # { - # install-command: 'yarn', - # list-installed-versions-command: 'yarn list --pattern stylelint', - # test-command: 'NODE_OPTIONS="--experimental-vm-modules --no-warnings" npx jest --runInBand', - # }, - # ] + - [ + '@shopify/stylelint-plugin', + { + install-command: 'yarn', + list-installed-versions-command: 'yarn list --pattern stylelint', + test-command: 'NODE_OPTIONS="--experimental-vm-modules --no-warnings" npx jest --runInBand', + }, + ] - '@stylistic/stylelint-config' - '@stylistic/stylelint-plugin' # - '@wordpress/stylelint-config'