Skip to content

Configuring for run test #8

Configuring for run test

Configuring for run test #8

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Deploy to Heroku
run: git push heroku main
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}