Skip to content

feat: Increase file limits (#46) #36

feat: Increase file limits (#46)

feat: Increase file limits (#46) #36

Workflow file for this run

name: Build
on: [push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 9
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run client:build
- name: Send MM
uses: fjogeleit/http-request-action@v1
if: ${{ github.event.repository.name == 'ChatDOC-API-Demo' }}
with:
url: ${{ secrets.NOTIFICATION_MM_WEBHOOK }}
method: 'POST'
customHeaders: '{"Content-Type": "application/json"}'
data: '{"text": "ChatDOC API Demo build on ${{ runner.os }} done"}'