Skip to content

Commit f11d2e4

Browse files
authored
Update nextjs.yml
1 parent 5fed627 commit f11d2e4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/nextjs.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,10 @@ jobs:
3434
- name: Detect package manager
3535
id: detect-package-manager
3636
run: |
37-
if [ -f "${{ github.workspace }}/yarn.lock" ]; then
3837
echo "manager=yarn" >> $GITHUB_OUTPUT
3938
echo "command=install" >> $GITHUB_OUTPUT
4039
echo "runner=yarn" >> $GITHUB_OUTPUT
4140
exit 0
42-
elif [ -f "${{ github.workspace }}/package.json" ]; then
43-
echo "manager=npm" >> $GITHUB_OUTPUT
44-
echo "command=ci" >> $GITHUB_OUTPUT
45-
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
46-
exit 0
47-
else
48-
echo "Unable to determine package manager"
49-
exit 1
50-
fi
5141
- name: Setup Node
5242
uses: actions/setup-node@v4
5343
with:

0 commit comments

Comments
 (0)