Update build.yml #8
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: 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 | |
# Add Node.js setup step | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: NPM install | |
run: npm install | |
- name: SvelteKit Build | |
run: npm run build | |