Skip to content

Commit

Permalink
chore: updated pnpm home
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasuraj01 committed Sep 28, 2024
1 parent b020c98 commit cfea1e4
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
with:
fetch-depth: 1

- name: setup environment variables
run: |
echo "COMMIT_MESSAGE=chore: auto updated dependencies on $(date +'%d/%m/%Y')" >> $GITHUB_ENV
echo "PNPM_HOME=$HOME/.local/share/pnpm" >> $GITHUB_ENV
- name: setup pnpm
uses: pnpm/action-setup@v4

Expand All @@ -31,11 +36,17 @@ jobs:
node-version-file: "package.json"
cache: "pnpm"

- name: log params
run: |
echo NX_BASE = $NX_BASE
echo node version = $(node --version)
echo pnpm version = $(pnpm --version)
echo COMMIT_MESSAGE = $COMMIT_MESSAGE
echo PNPM_HOME = $PNPM_HOME
- name: update env
run: |
pnpm i
pnpm setup
echo PNPM_HOME = $PNPM_HOME
pnpm build
pnpm update:env
Expand All @@ -48,16 +59,13 @@ jobs:
node-version-file: "package.json"
cache: "pnpm"

- name: setup environment variables
run: |
echo "COMMIT_MESSAGE=chore: auto updated dependencies on $(date +'%d/%m/%Y')" >> $GITHUB_ENV
- name: log params
run: |
echo NX_BASE = $NX_BASE
echo node version = $(node --version)
echo pnpm version = $(pnpm --version)
echo COMMIT_MESSAGE = $COMMIT_MESSAGE
echo PNPM_HOME = $PNPM_HOME
- name: update dependencies
run: |
Expand Down

0 comments on commit cfea1e4

Please sign in to comment.