Skip to content

Bump @sveltejs/adapter-node from 1.2.4 to 1.3.1 (#124) #189

Bump @sveltejs/adapter-node from 1.2.4 to 1.3.1 (#124)

Bump @sveltejs/adapter-node from 1.2.4 to 1.3.1 (#124) #189

Workflow file for this run

name: Run Tests
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: db
ports:
- 0432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTMARK_API_KEY: ${{ secrets.POSTMARK_API_KEY }}
PUBLIC_SITE_NAME: TACO [TEST]
EMAIL_SENDER_SIGNATURE: [email protected]
PUBLIC_SENTRY_DSN: ${{ secrets.PUBLIC_SENTRY_DSN }}
PUBLIC_SENTRY_ENV: test
PUBLIC_SITE_URL: http://localhost:5173/
DATABASE_URL: postgresql://postgres:postgres@localhost:0432/db
NODE_ENV: test
PUBLIC_RECAPTCHA_SITE_KEY: ${{ secrets.PUBLIC_RECAPTCHA_SITE_KEY }}
RECAPTCHA_SECRET_KEY: ${{ secrets.RECAPTCHA_SECRET_KEY }}
ORIGIN: http://localhost:3000
OPENAI_API_KEY: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Prisma migrations
run: npx prisma migrate deploy
- name: Run tests
run: npx playwright test