Skip to content

Commit

Permalink
feat(04-using-actions): add test command and default working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lauromueller committed Oct 31, 2023
1 parent 73ebee5 commit 0818685
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/04-using-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on: push
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 04-using-actions/react-app
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -14,7 +17,8 @@ jobs:
node-version: '20.x'
- name: Install Dependencies
run: npm ci
working-directory: 04-using-actions/react-app
- name: Run Unit Tests
run: npm run test
# 0. Checkout the code from the repository
# 1. Install deps of our react application
# 2. Execute automated tests

0 comments on commit 0818685

Please sign in to comment.