Skip to content

Commit

Permalink
Enable @shopify/stylelint-plugin (#43)
Browse files Browse the repository at this point in the history
* disable failing packages

* enable @shopify/stylelint-plugin

* readme

* readme

* workflows

* fix
  • Loading branch information
romainmenke authored Sep 9, 2024
1 parent 76a758c commit 2a03673
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down Expand Up @@ -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

<!-- END:PACKAGES -->

Expand Down
16 changes: 8 additions & 8 deletions data/ecosystem.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 2a03673

Please sign in to comment.