diff --git a/.github/workflows/sveltekit.yml b/.github/workflows/sveltekit.yml new file mode 100644 index 0000000..64f4ba7 --- /dev/null +++ b/.github/workflows/sveltekit.yml @@ -0,0 +1,39 @@ +name: SvelteKit + +on: + push: { branches: [master] } + pull_request: + branches: [ "*" ] + + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Check out 🚚 + uses: actions/checkout@v3 + + - name: Extract frontend 🚜 + run: | + shopt -s extglob + rm -r !(frontend)/ + mv frontend/* ./ + + - name: Install pnpm 📦 + uses: pnpm/action-setup@v2 + with: + version: 7 + + - name: Setup NodeJS ⚒️ + uses: actions/setup-node@v3 + with: + node-version: 19 + cache: "pnpm" + + - name: Install dependencies 🚀 + run: pnpm install + + - name: Build 🔨 + run: pnpm run build + diff --git a/frontend/src/lib/components/admin/list/CandidateDetails.svelte b/frontend/src/lib/components/admin/list/CandidateDetails.svelte index b4688d5..6a742bd 100644 --- a/frontend/src/lib/components/admin/list/CandidateDetails.svelte +++ b/frontend/src/lib/components/admin/list/CandidateDetails.svelte @@ -1,7 +1,6 @@