forked from CriticalMoments/CMSaasStarter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Github Actions build CI (CriticalMoments#7)
* New Github Actions build check * And env vars for build
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
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
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 |