Skip to content

Add loading state to rewards page #852

Add loading state to rewards page

Add loading state to rewards page #852

Workflow file for this run

name: Lint and Test
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "20"
- name: Install Dependencies
run: npm ci
- name: Check Formatting
run: npx prettier --check .
- name: Lint
run: npx eslint .
- name: Run Unit Tests
run: npx vitest run
- name: Build Project
run: npm run build
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30