Skip to content

Merge pull request #1928 from bervProject/dependabot/npm_and_yarn/esl… #3409

Merge pull request #1928 from bervProject/dependabot/npm_and_yarn/esl…

Merge pull request #1928 from bervProject/dependabot/npm_and_yarn/esl… #3409

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
node-version: [24.x, 25.x]
steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn --frozen-lockfile
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Unit Test
run: yarn test:unit
- name: Test
run: yarn test:e2e
- uses: codecov/codecov-action@v6
if: ${{ matrix.node-version == '24.x' }}
- uses: actions/upload-artifact@v7
with:
name: recordings-e2e-${{ matrix.node-version }}
path: tests/e2e/videos/
retention-days: 7
- name: Deploy
if: ${{ github.event_name == 'push' && matrix.node-version == '24.x' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist