Skip to content

Commit

Permalink
Simplify the release workflow
Browse files Browse the repository at this point in the history
Previously it was running `release:prepare` before calling `np` and during `np` command run
  • Loading branch information
e1himself committed Jul 28, 2022
1 parent f3c24ac commit 5b9a27b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@
"check": "npm run prettier && npm run test",
"prettier": "prettier --check './**/*.(js|ts|tsx|scss)'",
"prettier:fix": "npm run prettier -- --write --no-list-different",
"release": "npm run release:prepare && npm run release:publish",
"release:prepare": "npm run clean && npm install && npm run build && npm run check",
"release:publish": "np",
"release": "np --test-script='release:check'",
"release:check": "npm run build && npm run check",
"test:with-all-react-versions": "npm run test:with-react-16 && npm run test:with-react-17 && npm run test:with-react-18",
"test:with-react-16": "REACT_VERSION=16 npm run test:with-react-version",
"test:with-react-17": "REACT_VERSION=17 npm run test:with-react-version",
Expand Down

0 comments on commit 5b9a27b

Please sign in to comment.