Skip to content

installed prisma

installed prisma #60

Workflow file for this run

name: Run tests
on:
push:
branches: [ '*' ]
pull_request:
branches: ['*']
jobs:
build:
name: 'Run tests'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: restore caches
uses: actions/cache@v2
with:
path: |
./node_modules
./.coverage
./.eslintcache
key: ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
- name: Run tests
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install && npx prisma generate && npm run lint -- --cache && npm run test
- name: Publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_REPORTER_ID }}