Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-bell committed Feb 23, 2024
1 parent fd9be53 commit 4cd2f7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,4 @@ jobs:
run: cd townService; npm install && npm run prestart && npm run lint && npm test

- name: Build and test frontend components
run: cd frontend; npm install && npm run prestart && npm run lint && npm test
# deploy:
# if: github.ref == 'refs/heads/master'
# needs: build-and-test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: akhileshns/[email protected] # Deploy to Heroku action
# with:
# heroku_api_key: ${{secrets.HEROKU_API_KEY}}
# heroku_app_name: ${{secrets.HEROKU_APP_NAME}}
# heroku_email: ${{secrets.HEROKU_EMAIL}}
run: cd frontend; npm install && npm run prestart && npm run lint && npm test
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Development setup",
"main": "index.js",
"scripts": {
"install": "cd townService && npm install && npm run prestart && cd ../frontend && npm install && npm run prestart && cd ../shared && npm install",
"heroku-postbuild": "cd townService && npm install && npm run build",
"install": "cd townService && npm install && npm run prestart && cd ../shared && npm install",
"heroku-postbuild": "cd townService && CI=false NODE_ENV=development npm install && npm run build",
"run-townservice": "heroku local -p 3001 web",
"lint": "cd townService && npm run-script lint && cd ../frontend && npm run-script lint && cd ../shared && npm run-script lint",
"zip": "npm-pack-zip"
Expand Down

0 comments on commit 4cd2f7c

Please sign in to comment.