Skip to content

Commit

Permalink
do test and docker push in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Nov 29, 2024
1 parent de019d3 commit 5d7c9eb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: lint,
on: [push]
jobs:
test-and-push:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
- name: lint
run: npm run lint
8 changes: 8 additions & 0 deletions .github/workflows/test-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build docker image
run: ./docker/build
- name: Push SHA docker image
run: ./docker/push
- name: Run app in docker
run: ./docker/run
- name: Run unit and integration tests
run: npm run test
- name: Push branch docker tag
run: ./docker/push-branch-tag

0 comments on commit 5d7c9eb

Please # to comment.