Skip to content

Commit

Permalink
refactor(support): drop support for stylelint v11 and v12
Browse files Browse the repository at this point in the history
BREAKING CHANGE: support for stylelint v11, v12 dropped
  • Loading branch information
ismay committed May 22, 2021
1 parent ac5e076 commit 4d5a108
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '15'
- run: npm i
- run: npm run lint:js
- run: npm run lint:prettier
Expand All @@ -26,16 +23,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run test:tav
- run: npm run test

coverage:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '15'
- run: npm i
- run: npm run test:coverage
- uses: codecov/codecov-action@v1
Expand All @@ -49,9 +43,6 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: '15'
- run: npm i
- run: npm run semantic-release
env:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ package-lock.json

# Coveralls coverage
/coverage

# System files
.DS_Store
7 changes: 0 additions & 7 deletions .tav.yml

This file was deleted.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
"scripts": {
"codecov": "codecov",
"test": "cross-env BROWSERSLIST_DISABLE_CACHE=true BROWSERSLIST='IE 8' jest",
"test:tav": "tav",
"test:coverage": "cross-env BROWSERSLIST_DISABLE_CACHE=true BROWSERSLIST='IE 8' jest --coverage",
"lint:prettier": "prettier --list-different '**/*.js'",
"lint:js": "eslint '**/*.js'",
"semantic-release": "semantic-release",
"postinstall": "husky install"
},
"peerDependencies": {
"stylelint": ">=11.1.1"
"stylelint": ">=13.0.0"
},
"dependencies": {
"doiuse": "^4.3.1",
Expand Down Expand Up @@ -42,8 +41,7 @@
"lint-staged": "^10.4.2",
"prettier": "^2.1.2",
"semantic-release": "^17.2.2",
"stylelint": "^13.7.2",
"test-all-versions": "^5.0.1"
"stylelint": "^13.7.2"
},
"author": "ismay",
"license": "MIT",
Expand Down

0 comments on commit 4d5a108

Please sign in to comment.