This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
fix(deps): update all non-major dependencies (minor) #1051
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Build Core | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'apps/core/**' | |
- '.github/workflows/build-core.yml' | |
pull_request: | |
branches: [main] | |
paths: | |
- 'apps/core/**' | |
- '.github/workflows/build-core.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_USER: postgres | |
POSTGRES_DB: postgres | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 5432:5432 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: 8.x.x | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Install Dependencies | |
run: | | |
pnpm i --no-optional | |
- name: Build project | |
run: | | |
npm run build |