Skip to content

chore(): pin node vv16.20.2 #798

chore(): pin node vv16.20.2

chore(): pin node vv16.20.2 #798

name: library.lib-nest
on:
push:
branches:
- main
paths:
- .github/workflows/library.lib-nest.yml
- packages/backend/lib-nest/**
- packages/backend/tsconfig-backend.json
- package.json
- tsconfig.json
- types/**/*.ts
- '!**.md'
- '!**/.gitignore'
pull_request:
paths:
- .github/workflows/library.lib-nest.yml
- packages/backend/lib-nest/**
- packages/backend/tsconfig-backend.json
- package.json
- tsconfig.json
- types/**/*.ts
- '!**.md'
- '!**/.gitignore'
workflow_dispatch: null
env:
PACKAGE: lib-nest
jobs:
test_unit:
name: Build, Lint, and Unit Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- name: Checkout git repository
uses: actions/checkout@master
- name: Using node.js ${{ matrix.node-version }}
uses: actions/setup-node@master
with:
node-version: ${{ matrix.node-version }}
- name: Install yarn
run: yarn install --immutable
- name: Build package
run: yarn workspace $PACKAGE build
- name: Lint package
run: yarn workspace $PACKAGE lint
- name: Run package unit tests
run: yarn workspace $PACKAGE test:unit
test_integration:
name: Test Integration
runs-on: ubuntu-latest
steps:
- name: Do nothing
run: exit 0