Skip to content

#439 FIX: eslint error rules being ignored on build #37

#439 FIX: eslint error rules being ignored on build

#439 FIX: eslint error rules being ignored on build #37

Workflow file for this run

name: Jest Unit Tests
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
jest-test:
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_APPWRITE_API_URL: ${{ secrets.NEXT_PUBLIC_APPWRITE_API_URL }}
NEXT_PUBLIC_APPWRITE_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_APPWRITE_PROJECT_ID }}
NEXT_PUBLIC_APPWRITE_DATABASE_ID: ${{ secrets.NEXT_PUBLIC_APPWRITE_DATABASE_ID }}
APPWRITE_API_KEY: ${{ secrets.APPWRITE_API_KEY }}
strategy:
matrix:
node-version: ['20.x']
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: tests
run: pnpm test