Skip to content

Commit

Permalink
Github Actions build CI (CriticalMoments#7)
Browse files Browse the repository at this point in the history
* New Github Actions build check
* And env vars for build
  • Loading branch information
scosman authored Jan 17, 2024
1 parent 80f40d5 commit c84d500
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build

on: [push]

env:
PUBLIC_SUPABASE_URL: 'https://fake_test_url.supabase.co'
PUBLIC_SUPABASE_ANON_KEY: 'fake_anon_key'
PRIVATE_SUPABASE_SERVICE_ROLE: 'fake_service_role'
PRIVATE_STRIPE_API_KEY: 'fake_strip_api_key'
PUBLIC_SITE_NAME: 'SaaS Starter Build Test'

jobs:
build_and_test:
name: Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: NPM install
run: npm install

- name: SvelteKit Build
run: npm run build

0 comments on commit c84d500

Please sign in to comment.