Skip to content

Commit

Permalink
fix: #193 remove postbuild step from CI workflow (#195)
Browse files Browse the repository at this point in the history
* fix: #193 remove postbuild step from CI workflow

* fix: update dependencies and improve CI workflow
  • Loading branch information
maehr authored Oct 31, 2024
1 parent 60ab60b commit da35949
Show file tree
Hide file tree
Showing 4 changed files with 315 additions and 477 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/sveltekitci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,14 @@ jobs:
- name: Lint
run: pnpm run lint
- name: Setup jampack cache
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && github.repository == 'Stadt-Geschichte-Basel/stadtgeschichtebasel.ch'
uses: actions/cache@v4
with:
path: .jampack
key: jampack
restore-keys: |
jampack
- name: Prebuild
run: pnpm run prebuild
- name: Build
run: pnpm run build
- name: Postbuild
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && github.repository == 'Stadt-Geschichte-Basel/stadtgeschichtebasel.ch'
run: rm -Rf build/_jampack/ && pnpm run postbuild # FIXME: Quick fix to make jampack work
- name: Test
run: pnpm run test
- name: Publish to Cloudflare Pages
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@
},
"devDependencies": {
"@divriots/jampack": "^0.30.0",
"@playwright/test": "^1.48.0",
"@playwright/test": "^1.48.1",
"@skeletonlabs/skeleton": "^2.10.2",
"@skeletonlabs/tw-plugin": "^0.4.0",
"@sveltejs/adapter-static": "^3.0.5",
"@sveltejs/kit": "^2.7.1",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@sveltejs/kit": "^2.7.2",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tailwindcss/typography": "^0.5.15",
"autoprefixer": "^10.4.20",
"cheerio": "1.0.0",
"dompurify": "^3.1.7",
"eslint": "^9.12.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.44.1",
"eslint-plugin-svelte": "^2.46.0",
"globals": "^15.11.0",
"husky": "^9.1.6",
"js-yaml": "^4.1.0",
Expand All @@ -73,13 +73,13 @@
"rehype-external-links": "^3.0.0",
"rehype-slug": "^6.0.0",
"remark-captions": "^2.2.4",
"svelte": "^4.2.19",
"svelte": "^5.1.0",
"svelte-check": "^4.0.5",
"svelte-maplibre": "^0.9.14",
"tailwindcss": "^3.4.13",
"tailwindcss": "^3.4.14",
"turndown": "^7.2.0",
"typescript": "^5.6.3",
"vite": "^5.4.9",
"vite": "^5.4.10",
"vite-plugin-tailwind-purgecss": "^0.3.3",
"vitest": "^2.1.3",
"xml2js": "^0.6.2"
Expand Down
Loading

0 comments on commit da35949

Please sign in to comment.