Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

feat: Add termination banner (#115) #235

feat: Add termination banner (#115)

feat: Add termination banner (#115) #235

Workflow file for this run

name: Run tests and lint
on:
push:
branches:
- main
pull_request:
jobs:
testing:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
env:
OPENAI_API_KEY: fake_key
AZURE_DOCUMENT_INTELLIGENCE_KEY: fake_key
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT: fake_endpoint
AZURE_OPENAI_API_KEY: fake_key
AZURE_OPENAI_ENDPOINT: fake_endpoint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
run: |
npm install --legacy-peer-deps
npx playwright install --with-deps
- name: Run tests
run: |
npm run test
- uses: actions/upload-artifact@v4
if: always()
with:
name: video-files
path: test-results/**/*.webm
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: package-lock.json
- run: |
npm install --legacy-peer-deps
npm run lint