fix: don't throw error with partial initialized app (#92) #529
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: libs pipeline | |
on: | |
workflow_call: | |
inputs: | |
working-directory: | |
description: 'Path where nestjs-yalc is installed' | |
required: false | |
type: string | |
workflow_dispatch: | |
push: | |
branches: | |
- dev | |
- master | |
pull_request: | |
env: | |
PROJECT_ID: libs | |
NODE_VERSION: 20 | |
# other | |
GITHUB_TOKEN: ${{ secrets.READ_PACKAGE_TOKEN }} | |
NODE_ENV: 'pipeline' | |
JWT_SECRET_PVT: 'dummydummy' | |
JWT_SECRET_PUB: 'dummydummy' | |
jobs: | |
#=========================== | |
# | |
# RUN PARALLEL JOBS | |
# | |
#============================ | |
linter: | |
name: Linter checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
submodules: 'recursive' | |
- name: Lint | |
uses: ./.github/actions/lint | |
test-unit-common: | |
name: Common libs unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
submodules: 'recursive' | |
- name: Test | |
uses: ./.github/actions/test | |
test-build-common: | |
name: Common libs build tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
submodules: 'recursive' | |
- name: Build | |
uses: ./.github/actions/build |