Skip to content

Merge pull request #1472 from bervProject/dependabot/npm_and_yarn/sas… #2443

Merge pull request #1472 from bervProject/dependabot/npm_and_yarn/sas…

Merge pull request #1472 from bervProject/dependabot/npm_and_yarn/sas… #2443

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
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 -ci
- name: Test
run: yarn test:e2e --headless
- uses: codecov/codecov-action@v4
if: ${{ matrix.node-version == '18.x' }}
- uses: actions/upload-artifact@v4
with:
name: recordings-e2e-${{ matrix.node-version }}
path: tests/e2e/videos/
retention-days: 7
- name: Deploy
if: ${{ github.event_name == 'push' && matrix.node-version == '18.x' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist