Bump Deps + try actions again?
All checks were successful
Build & Deploy / build (push) Successful in 34s

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2024-03-27 17:16:59 +01:00
parent 52c00952b2
commit b4728d39bb
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
4 changed files with 343 additions and 314 deletions

View file

@ -1,20 +0,0 @@
kind: 'pipeline'
type: 'docker'
name: 'Build and Deploy'
steps:
- name: Build
image: 'node:20'
commands:
- corepack enable && pnpm config set store-dir .cache/pnpm
- pnpm i
- pnpm build
- name: Deploy
image: 'plugins/gh-pages'
settings:
username: oauth2
password:
from_secret: GITEA_TOKEN
copy_contents: true
pages_directory: build
target_branch: pages

35
.github/workflows/build.yaml vendored Normal file
View file

@ -0,0 +1,35 @@
name: Build & Deploy
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install Node.js
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 20
- name: Install dependencies
run: pnpm install
- name: Vite
run: pnpm build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
force_orphan: true
publish_branch: pages

View file

@ -17,29 +17,29 @@
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/enhanced-img": "^0.1.9",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/kit": "^2.5.4",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "0.5.10",
"@types/eslint": "^8.56.0",
"@tailwindcss/typography": "0.5.11",
"@types/eslint": "^8.56.6",
"@types/html-minifier-terser": "^7.0.2",
"@types/node": "20.11.27",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"autoprefixer": "10.4.18",
"@types/node": "20.11.30",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"autoprefixer": "10.4.19",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"html-minifier-terser": "^7.2.0",
"postcss": "8.4.35",
"postcss": "8.4.38",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"tailwindcss": "3.4.1",
"svelte-check": "^3.6.8",
"tailwindcss": "3.4.2",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^5.0.3",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite-plugin-tailwind-purgecss": "0.2.0"
},
"type": "module"

File diff suppressed because it is too large Load diff