Skip to content

Merge pull request #73 from joshuaisaact/minor-fixes #98

Merge pull request #73 from joshuaisaact/minor-fixes

Merge pull request #73 from joshuaisaact/minor-fixes #98

Workflow file for this run

# .github/workflows/test.yml
name: Node.js Run-Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
# - run: npm run build --if-present
- run: npm run test:ci
env:
VITE_BASE_URL: 'https://trywooster.live/api'
VITE_SUPABASE_URL: ${{ secrets.VITE_SUPABASE_URL }}
VITE_SUPABASE_ANON_KEY: ${{ secrets.VITE_SUPABASE_ANON_KEY }}