Skip to content

fix: update CORS_ORIGIN description in README and remove unused tscon… #38

fix: update CORS_ORIGIN description in README and remove unused tscon…

fix: update CORS_ORIGIN description in README and remove unused tscon… #38

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.GH_TOKEN }}
PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING: 1
PRISMA_SKIP_POSTINSTALL_GENERATE: true
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Ensure npm token available
run: |
if [ -z "$NPM_TOKEN" ]; then
echo "GH_TOKEN secret is required to install from GitHub Packages" && exit 1
fi
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type check
run: npm run typecheck
- name: Test
run: npm test
- name: Build
run: npm run build