Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Nov 12, 2024
1 parent 7734d26 commit e2870e2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ jobs:
strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/prepare-install
with:
node-version: ${{ matrix.node-version }}
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,6 @@
"ci": "run-s lint:ts doctor build",
"prepublishOnly": "pnpm ci"
},
"lint-staged": {
"*.{md,json}": [
"prettier --cache --write --no-error-on-unmatched-pattern"
],
"*.{css,less}": [
"prettier --cache --write"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --cache --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --cache --write"
]
},
"dependencies": {
"@ant-design/graphs": "^2.0.0-beta.4",
"@ant-design/icons": "^5.4.0",
Expand Down Expand Up @@ -112,6 +96,22 @@
"node": ">=18",
"pnpm": ">=8"
},
"lint-staged": {
"*.{md,json}": [
"prettier --cache --write --no-error-on-unmatched-pattern"
],
"*.{css,less}": [
"prettier --cache --write"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --cache --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --cache --write"
]
},
"limit-size": [
{
"path": "dist/umd/index.js",
Expand Down

0 comments on commit e2870e2

Please sign in to comment.