Skip to content

refactor: Optimize audio retrieval by replacing raw SQL query with Ty… #62

refactor: Optimize audio retrieval by replacing raw SQL query with Ty…

refactor: Optimize audio retrieval by replacing raw SQL query with Ty… #62

Workflow file for this run

name: Continuous Integration Workflow
on:
push:
branches-ignore: ['main']
pull_request:
branches: ['*']
jobs:
build:
name: 'build to JS'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x']
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Use Node .js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build
lint:
name: 'Run linter'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x']
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Use Node .js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: lint
run: pnpm run lint
test:
name: 'Run Unit tests'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x']
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Use Node .js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: test
run: pnpm run test