Skip to content

[ Refactor ] Store TOTP Data in Session Instead of DatabaseSession #242

[ Refactor ] Store TOTP Data in Session Instead of DatabaseSession

[ Refactor ] Store TOTP Data in Session Instead of DatabaseSession #242

Workflow file for this run

name: ⚙️ Workflow
on:
push:
branches:
- main
pull_request: {}
permissions:
actions: write
contents: read
jobs:
build:
name: 🏗 Build
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
uses: bahmutov/npm-install@v1.8.28
with:
useLockFile: false
install-command: npm install
- name: Run Build
run: npm run build
lint:
name: ⬣ ESLint
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
uses: bahmutov/npm-install@v1.8.28
with:
useLockFile: false
install-command: npm install
- name: Run Lint
run: npm run lint
typecheck:
name: ʦ TypeScript
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
uses: bahmutov/npm-install@v1.8.28
with:
useLockFile: false
install-command: npm install
- name: Run Typecheck
run: npm run typecheck --if-present
vitest:
name: ⚡ Vitest
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
uses: bahmutov/npm-install@v1.8.28
with:
useLockFile: false
install-command: npm install
- name: Run Vitest
run: npm run test