Bump the development-dependencies group across 1 directory with 22 updates #203
This file contains 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: 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 |