Skip to content

Commit

Permalink
Tweaking GH workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtaStruhar committed Dec 29, 2023
1 parent 24f72cc commit c6bb55e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 41 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/astro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
echo "command=ci" >> $GITHUB_OUTPUT
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
exit 0
if [ -f "${{ github.workspace }}/pnpm-lock.yaml" ]; then
echo "manager=pnpm" >> $GITHUB_OUTPUT
echo "command=install" >> $GITHUB_OUTPUT
echo "runner=pnpm" >> $GITHUB_OUTPUT
exit 0
else
echo "Unable to determine package manager"
exit 1
Expand All @@ -56,8 +61,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "20"
cache: ${{ steps.detect-package-manager.outputs.manager }}
cache-dependency-path: ${{ env.BUILD_PATH }}/package-lock.json
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/deploy.yml

This file was deleted.

0 comments on commit c6bb55e

Please sign in to comment.