fix(deps): update dependency mongoose to v6.13.5 [security] #5679
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
master: | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name != 'pull_request' }} | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout [master] | |
with: | |
fetch-depth: 0 | |
- name: restore cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
node_modules | |
*/*/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Derive appropriate SHAs for base and head for `nx affected` commands | |
uses: nrwl/nx-set-shas@v3 | |
with: | |
main-branch-name: 'master' | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- run: yarn install --immutable | |
- run: yarn nx affected --target=build --parallel --max-parallel=3 | |
- run: yarn nx affected --target=test --parallel --max-parallel=2 | |
- run: yarn nx affected --target=lint --parallel --max-parallel=2 | |
env: | |
DB_URL_TJ: ${{ secrets.DB_URL_TJ }} | |
JWT_SECRET: ${{ secrets.JWT_SECRET }} | |
GRAPHQL_URL: ${{ secrets.GRAPHQL_URL }} | |
HANDBALL_PLANET_URL: ${{ secrets.HANDBALL_PLANET_URL }} | |
HANDBALL_NO: ${{ secrets.HANDBALL_NO }} | |
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }} | |
COMPONENTS_PROJECT_TOKEN: ${{ secrets.COMPONENTS_PROJECT_TOKEN }} | |
pr: | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
fetch-depth: 0 | |
- name: restore cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
node_modules | |
*/*/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Derive appropriate SHAs for base and head for `nx affected` commands | |
uses: nrwl/nx-set-shas@v3 | |
with: | |
main-branch-name: 'master' | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- run: yarn install --immutable | |
- run: yarn nx affected --target=build --parallel --max-parallel=3 | |
- run: yarn nx affected --target=test --parallel --max-parallel=2 | |
- run: yarn nx affected --target=lint --parallel --max-parallel=2 | |
env: | |
DB_URL_TJ: ${{ secrets.DB_URL_TJ }} | |
JWT_SECRET: ${{ secrets.JWT_SECRET }} | |
GRAPHQL_URL: ${{ secrets.GRAPHQL_URL }} | |
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }} |