Skip to content

Commit

Permalink
fix(deploy): explicitly call yarn "pre" and "post"
Browse files Browse the repository at this point in the history
specifically applies to "deploy" script - yarn 2 migration guide
  • Loading branch information
JMaio committed Dec 25, 2020
1 parent 7f09ec4 commit effcd1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"test:ci": "cross-env CI=true yarn test",
"eject": "react-scripts eject",
"predeploy": "yarn run build",
"deploy": "gh-pages -d build",
"deploy": "yarn predeploy && gh-pages -d build",
"lint": "eslint \"./src/**.{js,jsx,ts,tsx}\"",
"lint:fix": "eslint \"./src/**/*.{js,jsx,ts,tsx}\" --fix",
"release": "standard-version",
Expand Down

0 comments on commit effcd1a

Please sign in to comment.