Skip to content

Add temporary expression action type #271

Add temporary expression action type

Add temporary expression action type #271

Workflow file for this run

name: CI
on:
push:
branches:
- "**" # Runs on all branches
pull_request:
branches:
- "**" # Runs on all branches
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
folder: [frontend, backend, remote_worker]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: ${{ matrix.folder }}/package-lock.json
- name: Install dependencies
run: YOUTUBE_DL_SKIP_DOWNLOAD=true npm install
working-directory: ${{ matrix.folder }}
- name: Run security audit
run: npm audit --audit-level=high
working-directory: ${{ matrix.folder }}
- name: Run linter
run: npm run lint
working-directory: ${{ matrix.folder }}
- name: Build project
run: npm run build
working-directory: ${{ matrix.folder }}