Skip to content

Commit

Permalink
Update react-ci-last.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nankaliali authored Dec 15, 2023
1 parent 71c8f53 commit 1737814
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/react-ci-last.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ name: CI-CD
on:
push:
branches: [main]
pull_request:
branches: [main]




Expand All @@ -14,17 +17,20 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: setup node
uses: actions/setup-node@master

- name : docker-compose up
run: docker compose up --bupld

# install applicaion dependencies
- name: Install dependencies
run: |
npm install --force
docker exec -it docker-react-c bash "npm install --force"
# build and test the apps
- name: build
run: |
npm run build
npm test
docker exec -it docker-react-c bash "npm run build"
docker exec -it docker-react-c bash "npm test"

0 comments on commit 1737814

Please sign in to comment.