This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
chore(deps): update dependency @types/node to v18.19.0 #923
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
push: | |
paths: | |
- '.github/workflows/*.yml' | |
- 'packages/**/*.ts' | |
- 'packages/**/*.prisma' | |
- 'packages/**/package.json' | |
- 'packages/**/tsconfig.json' | |
- 'tsconfig.json' | |
- 'package.json' | |
jobs: | |
eslint: | |
if: | |
github.event_name == 'push' || github.event.pull_request.head.repo.full_name != | |
github.repository | |
name: Run ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node v18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
cache-dependency-path: 'yarn.lock' | |
- name: Install dependencies | |
run: yarn install --no-immutable | |
- name: Run ESLint | |
run: yarn run lint | |
typescript: | |
if: | |
github.event_name == 'push' || github.event.pull_request.head.repo.full_name != | |
github.repository | |
name: TypeScript Transpile | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node v18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
cache-dependency-path: 'yarn.lock' | |
- name: Install dependencies | |
run: yarn install --no-immutable | |
- name: Generate Prisma schema | |
run: yarn run prisma | |
- name: TypeScript Test | |
run: yarn run typecheck |