fix(deps): update nest monorepo to v10 #2403
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
name: Test | |
on: [push, pull_request] | |
jobs: | |
lint-build: | |
name: Lint and Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn lint --max-warnings=0 | |
- name: Build | |
run: yarn build | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
env: | |
DATABASE_URL: ${{secrets.DATABASE_URL}} | |
FIREBASE_API_KEY: ${{secrets.FIREBASE_API_KEY}} | |
FIREBASE_AUTH_DOMAIN: ${{secrets.FIREBASE_AUTH_DOMAIN}} | |
FIREBASE_PROJECT_ID: ${{secrets.FIREBASE_PROJECT_ID}} | |
FIREBASE_STORAGE_BUCKET: ${{secrets.FIREBASE_STORAGE_BUCKET}} | |
FIREBASE_MESSAGING_SENDER_ID: ${{secrets.FIREBASE_MESSAGING_SENDER_ID}} | |
FIREBASE_APP_ID: ${{secrets.FIREBASE_APP_ID}} | |
FIREBASE_MEASUREMENT_ID: ${{secrets.FIREBASE_MEASUREMENT_ID}} | |
FIREBASE_ADMIN_PROJECT_ID: ${{secrets.FIREBASE_ADMIN_PROJECT_ID}} | |
FIREBASE_ADMIN_PRIVATE_KEY: ${{secrets.FIREBASE_ADMIN_PRIVATE_KEY}} | |
FIREBASE_ADMIN_CLIENT_EMAIL: ${{secrets.FIREBASE_ADMIN_CLIENT_EMAIL}} | |
FIREBASE_STORAGE_URL: ${{secrets.FIREBASE_STORAGE_URL}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Prisma Generate | |
run: yarn prisma:gen:test | |
- name: Unit Test | |
run: yarn test | |
- name: E2E Test | |
run: yarn test:e2e |