fix: update workflows to use npm instead of pnpm and remove unused deployment files

This commit is contained in:
mr. M
2025-02-09 12:59:54 +01:00
parent 1d03ea92a0
commit 17ed7572e0
7 changed files with 8232 additions and 7781 deletions

View File

@@ -1,39 +0,0 @@
name: Upload to B-Backup (Manual)
on:
workflow_dispatch:
jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: get pnpm
run: npm install -g pnpm
- name: double check xD
run: pnpm --version
- name: get dependencies
run: pnpm i
- name: buld
run: pnpm run build
- name: Deploy to BunnyCDN
uses: ayeressian/bunnycdn-storage-deploy@v2.2.4
with:
source: 'dist'
destination: ''
storageZoneName: '${{ secrets.STORAGE_NAME_BACKUP }}'
storagePassword: '${{ secrets.STORAGE_PASSWORD_BACKUP }}'
upload: 'true'
remove: 'false'
purgePullZone: 'false'

View File

@@ -1,39 +0,0 @@
name: Upload to B-Main
on:
workflow_dispatch:
jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: get pnpm
run: npm install -g pnpm
- name: double check xD
run: pnpm --version
- name: get dependencies
run: pnpm i
- name: buld
run: pnpm run build
- name: Deploy to BunnyCDN
uses: ayeressian/bunnycdn-storage-deploy@v2.2.4
with:
source: 'dist'
destination: ''
storageZoneName: '${{ secrets.STORAGE_NAME }}'
storagePassword: '${{ secrets.STORAGE_PASSWORD }}'
upload: 'true'
remove: 'false'
purgePullZone: 'false'

View File

@@ -15,14 +15,11 @@ jobs:
with:
node-version: 22
- name: Install pnpm
run: npm install -g pnpm
- name: Verify pnpm installation
run: pnpm --version
- name: Verify npm installation
run: npm --version
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
run: npm install --no-frozen-lockfile
- name: Build project
run: pnpm run build
run: npm run build

2
.gitignore vendored
View File

@@ -11,7 +11,7 @@ node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
npm-debug.log*
# environment variables
.env

8225
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -30,7 +30,7 @@
"free-astro-components": "^1.1.1",
"lucide-astro": "^0.460.0",
"motion": "^11.13.5",
"postcss": "8.4.21",
"postcss": "^8.5.1",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.6",
@@ -42,6 +42,5 @@
},
"devDependencies": {
"wrangler": "^3.94.0"
},
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
}
}

7692
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff