Browse Source

- netlify test

main
SimonBurdy 5 years ago
parent
commit
c28e4a0538
  1. 9
      .circleci/config.yml
  2. 2
      .gitignore
  3. 17095
      package-lock.json
  4. 1
      package.json

9
.circleci/config.yml

@ -107,10 +107,15 @@ jobs:
- checkout - checkout
- run: - run:
name: Heroku Deploy name: Heroku Deploy
command: echo todo && false
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main
- run: - run:
name: Smoke Test name: Smoke Test
command: echo todo && false
command: |
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/`
if [ "$HTTPCODE" -ne 200 ];then
echo "heroku app not responding, failing deploy"
exit 1
fi
workflows: workflows:
version: 2 version: 2

2
.gitignore

@ -35,3 +35,5 @@ lerna-debug.log*
!.vscode/extensions.json !.vscode/extensions.json
.env .env
docs/ docs/
# Local Netlify folder
.netlify

17095
package-lock.json
File diff suppressed because it is too large
View File

1
package.json

@ -51,6 +51,7 @@
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0", "eslint-plugin-prettier": "^3.4.0",
"jest": "27.0.6", "jest": "27.0.6",
"netlify-cli": "^6.14.0",
"prettier": "^2.3.2", "prettier": "^2.3.2",
"supertest": "^6.1.3", "supertest": "^6.1.3",
"ts-jest": "^27.0.3", "ts-jest": "^27.0.3",

Loading…
Cancel
Save