Skip to content

fix(codeql): #27 js ts duplicate warning #54

fix(codeql): #27 js ts duplicate warning

fix(codeql): #27 js ts duplicate warning #54

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- '**' # Ignore all branches for push events
pull_request:
branches:
- '**' # Run on every PR
types:
- opened
- synchronize
- reopened
jobs:
build-and-test:
runs-on: ubuntu-latest
permissions:
contents: read # Required for actions/checkout
id-token: write # Required for uploading artifacts
actions: read # Required for using actions
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npx pnpm install
- name: Run ESLint
run: npm run lint
- name: Run Prettier
run: npm run format --check
- name: Run Unit Tests
run: npm run test:unit
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
env:
CI: true
run: npx playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30