Skip to content

Commit

Permalink
Replace enter project folder step by working-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
zehguilherme committed Jun 25, 2023
1 parent 03862cb commit 61d6f11
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,15 @@ jobs:
steps:
- name: Repository Checkout
uses: actions/checkout@v3
- name: Enter project folder
run: cd ./web
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: v18.x
- name: Install Dependencies
working-directory: ./web
run: yarn install
- name: Enter project folder
run: cd ./web
- name: Lint
working-directory: ./web
run: yarn lint

test:
Expand All @@ -30,15 +28,13 @@ jobs:
steps:
- name: Repository Checkout
uses: actions/checkout@v3
- name: Enter project folder
run: cd ./web
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: v18.x
- name: Install Dependencies
working-directory: ./web
run: yarn install
- name: Enter project folder
run: cd ./web
- name: Test - Jest
working-directory: ./web
run: yarn test

0 comments on commit 61d6f11

Please sign in to comment.