Skip to content

feat: add password reset page #122

feat: add password reset page

feat: add password reset page #122

Workflow file for this run

name: Playwright Tests
on:
push:
branches:
- main
pull_request:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8.6
- name: Use Node.js v20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build production dist/ for previewing
run: pnpm build
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm exec playwright test
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
deploy:
needs: test
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js v20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Download test report
uses: actions/download-artifact@v3
with:
name: playwright-report
path: playwright-report/
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: playwright-report/
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2