Skip to content

Commit

Permalink
ci: atualizado workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoSemiOficial committed Sep 21, 2024
1 parent f913f69 commit 4677af2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
jobs:
frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.9.0
Expand All @@ -25,18 +22,18 @@ jobs:

- name: Install dependencies
run: npm install
working-directory: ./frontend

- name: Build
run: npm run build --if-present
working-directory: ./frontend

- name: Test
run: npm run test:headless --if-present
working-directory: ./frontend

backend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.9.0
Expand All @@ -47,6 +44,8 @@ jobs:

- name: Install dependencies
run: npm install
working-directory: ./backend

- name: Build
run: npm run server:build --if-present
working-directory: ./backend

0 comments on commit 4677af2

Please sign in to comment.