Skip to content

Commit

Permalink
fix: update working directory in cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
syafiqparadisam committed May 5, 2024
1 parent 9d401d8 commit 2875f8a
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
ci:
name: Setup nodejs
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./project

steps:
- name: Checkout repo
Expand All @@ -20,23 +23,23 @@ jobs:
with:
node-version: 20.12.0

- name: Go to project folder
run: ll
# - name: Go to project folder
# run: ll

- name: Go to project folder
run: cd project
# - name: Go to project folder
# run: cd project

- name: Print working dir
run: pwd
# - name: Print working dir
# run: pwd

# - name: Install dependencies
# run: npm install
- name: Install dependencies
run: npm install

# - name: Linting
# run: npm run lint
- name: Linting
run: npm run lint

# - name: Build project
# run: npm run build
- name: Build project
run: npm run build

# cd:
# name: CD processes
Expand Down

0 comments on commit 2875f8a

Please sign in to comment.