Skip to content

Commit

Permalink
fixed github action working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelos Vatikiotis committed Jul 1, 2024
1 parent 9f12127 commit 41d0111
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ concurrency:
jobs:
# Build job
build:

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Detect package manager
id: detect-package-manager
working-directory: ./app

run: |
if [ -f "${{ github.workspace }}/yarn.lock" ]; then
echo "manager=yarn" >> $GITHUB_OUTPUT
Expand All @@ -49,6 +52,7 @@ jobs:
exit 1
fi
- name: Setup Node

uses: actions/setup-node@v4
with:
node-version: "20"
Expand Down

0 comments on commit 41d0111

Please sign in to comment.