Skip to content

Commit

Permalink
🧑‍💻 Switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
derteaser committed Dec 2, 2024
1 parent c541f3b commit 44aa8f0
Show file tree
Hide file tree
Showing 5 changed files with 2,151 additions and 25 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 20
- name: Enable Corepack
run: corepack enable
- name: Install Yarn dependencies
uses: borales/actions-yarn@3766bb1335b98fb13c60eaf358fe20811b730a88 # v5
- uses: pnpm/action-setup@v4
with:
cmd: install
- name: Build production bundle
uses: borales/actions-yarn@3766bb1335b98fb13c60eaf358fe20811b730a88 # v5
run_install: false
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
cmd: build
- name: Commit and push changes
node-version: 22
cache: 'pnpm'
- name: 📦 Install dependencies
run: pnpm install
- name: 📦 Build production bundle
run: pnpm build
- name: 📥 Commit and push local changes
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
with:
commit_message: Apply theme changes
commit_message: 💄Apply theme changes
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: executing remote ssh commands using password
- name: 🕹️ Executing remote SSH commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
Expand All @@ -43,7 +41,7 @@ jobs:
git pull
php82 /usr/bin/composer install --no-dev -d ${PWD}
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Create Sentry release
- name: 📢 Create Sentry release
uses: getsentry/action-release@586b62368d564f25d694ce05fcb9cf53de65ac4f # v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
Expand Down
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,3 @@ Icon
/content/
/.cert/
/.idea/

.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
1 change: 0 additions & 1 deletion .yarnrc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
"vite-plugin-live-reload": "3.0.3",
"vite-plugin-mkcert": "1.17.6"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
"packageManager": "pnpm@9.14.4"
}
Loading

0 comments on commit 44aa8f0

Please sign in to comment.