Skip to content

Merge pull request #2 from New-nota/self_news_api_key #7

Merge pull request #2 from New-nota/self_news_api_key

Merge pull request #2 from New-nota/self_news_api_key #7

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
jobs:
quality:
runs-on: ubuntu-latest
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/db_news
AUTH_SECRET: ci_dummy_secret_ci_dummy_secret_ci_dummy_secret
AUTH_GOOGLE_ID: ci-google-id
AUTH_GOOGLE_SECRET: ci-google-secret
AUTH_TRUST_HOST: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Typecheck
run: npm run typecheck
- name: Test
run: npm run test
- name: Build
run: npm run build