Skip to content

Commit

Permalink
Merge pull request #8 from dgodongm/dg_update_gh_actions
Browse files Browse the repository at this point in the history
update gh action files
  • Loading branch information
dgodongm authored Mar 14, 2024
2 parents a03d256 + 8957f1e commit 43b038c
Show file tree
Hide file tree
Showing 3 changed files with 2,283 additions and 151 deletions.
28 changes: 11 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
name: Deploy

on:
push:
branches:
- main
pull_request:
branches:
- main

name: API tests
on: push
jobs:
build:
runs-on: ubuntu-latest
cypress-run:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: akhileshns/[email protected] # This is the action
- name: Checkout
uses: actions/checkout@v4
- name: Cypress run
uses: cypress-io/github-action@v6
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }} #Must be unique in Heroku
heroku_email: ${{ secrets.HEROKU_EMAIL }}
start: npm start
# quote the url to be safe against YML parsing surprises
wait-on: "http://localhost:3001"
21 changes: 0 additions & 21 deletions .github/workflows/test.yml

This file was deleted.

Loading

0 comments on commit 43b038c

Please sign in to comment.