Merge pull request #87 from admisio/prisma-seed-tsx #250
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SvelteKit | |
on: | |
push: { branches: [master] } | |
pull_request: | |
branches: ['*'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out 🚚 | |
uses: actions/checkout@v3 | |
- name: Install pnpm 📦 | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Setup NodeJS ⚒️ | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19 | |
cache: 'pnpm' | |
- name: Install dependencies 🚀 | |
run: pnpm install | |
- name: Sample env file 🌱 | |
run: echo "JWT_SECRET=ahooj" > .env | |
- name: Svelte Check ✔️ | |
run: pnpm lint | |
- name: Build 🔨 | |
run: pnpm build |