Skip to content

chore(gh): Update issue templates #23

chore(gh): Update issue templates

chore(gh): Update issue templates #23

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 8.9.0
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install Dependencies
run: pnpm install
- name: Setup PostgreSQL
uses: Harmon758/[email protected]
with:
postgresql version: '16.3'
postgresql db: user_management
postgresql user: nest
postgresql password: password
- name: Copy API Config File
uses: canastro/[email protected]
with:
source: "packages/api/src/assets/config-template.json"
target: "packages/api/src/assets/config.json"
- name: Copy API Environment File
uses: canastro/[email protected]
with:
source: "packages/api/.env.template-local"
target: "packages/api/.env"
- name: Push DB Schema
run: pnpm run db:push
- name: Run Unit Tests
run: pnpm run test-ci
- name: Run E2E Tests
run: pnpm run test-ci:e2e
- name: Publish Unit Test Results
uses: EnricoMi/[email protected]
if: always()
continue-on-error: true
with:
files: |
packages/api/output/*.xml