Skip to content

Commit

Permalink
Run test on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg committed Mar 19, 2024
1 parent e34402f commit 4646b35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"scripts": {
"postinstall": "patch-package",
"prepublish": "npx in-publish && npm run build || echo",
"deploy": "npm run build && cd ./lib/flagsmith/ && npm publish && cd ../../lib/react-native-flagsmith && npm publish && cd ../../lib/flagsmith-es && npm publish",
"deploy:beta": "npm run build && cd ./lib/flagsmith/ && npm publish --tag beta && cd ../../lib/react-native-flagsmith && npm publish --tag beta && cd ../../lib/flagsmith-es && npm publish --tag beta",
"deploy": "npm run build && npm test && cd ./lib/flagsmith/ && npm publish && cd ../../lib/react-native-flagsmith && npm publish && cd ../../lib/flagsmith-es && npm publish",
"deploy:beta": "npm run build && npm test && cd ./lib/flagsmith/ && npm publish --tag beta && cd ../../lib/react-native-flagsmith && npm publish --tag beta && cd ../../lib/flagsmith-es && npm publish --tag beta",
"build": "rollup -c && node ./move-react.js",
"test": "jest --env=jsdom"
},
Expand Down

0 comments on commit 4646b35

Please sign in to comment.