Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update gh action files #8

Merged
merged 3 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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