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

GitHub actions #97

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
25 changes: 25 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: A workflow for Github Actions Tutorial
on: push
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to run tests on pull request also.


jobs:
build:
name: main workflow
runs-on: ubuntu-latest
steps:

- name: community-developed Action
uses: actions/checkout@v1

- name: Build docker image
run: docker build -t image-sequencer-app .

- name: Build compose stack
run: docker-compose build

- name: Run docker-compose script
run: docker-compose run image-sequencer-app bash -c "NODE_ENV=development npm install && npm test"





13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.