From 993b6e4ac488b89890eb7bbe1d2a2e9eb9789ca2 Mon Sep 17 00:00:00 2001 From: scosman Date: Wed, 17 Jan 2024 10:59:26 -0500 Subject: [PATCH 1/2] New Github Actions build check --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..78a6f78c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: Build + +on: [push] + +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 From f9ba5494121f3236590de3d4027fb7bb98740929 Mon Sep 17 00:00:00 2001 From: scosman Date: Wed, 17 Jan 2024 11:05:51 -0500 Subject: [PATCH 2/2] And env vars for build --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 78a6f78c..dc7ff9e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,13 @@ 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