Add temporary expression action type #271
Workflow file for this run
This file contains hidden or 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
| 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 }} |