I am getting error when I am using these pipeline steps..
Heroku is detecting only python buildpack not reactjs
pipelines:
default:
- step:
name: Backend Build
image: python:3.8.5
script:
- cd backend
- git archive --format=tar.gz master -o sample-app.tar.gz
artifacts:
- backend/sample-app.tar.gz
- step:
name: Build and Test for react
image: node:10.19.0
trigger: manual
caches:
- node
script:
# Use a in-memory sqlite3 database
- export TRAMPOLINE_CI=true
- cd frontend
- rm -rf package-lock.json
- rm -rf node_modules
- npm install
- npm run build
- step:
name: Deploy to production
deployment: production
trigger: manual
caches:
- pip
- node
script:
- pipe: atlassian/heroku-deploy:1.2.1
variables:
HEROKU_API_KEY: $HEROKU_API_KEY
HEROKU_APP_NAME: $HEROKU_APP_NAME
ZIP_FILE: backend/sample-app.tar.gz