Skip to content

fix: pomodoro timer won't stop working anymore when browser tab went … #12

fix: pomodoro timer won't stop working anymore when browser tab went …

fix: pomodoro timer won't stop working anymore when browser tab went … #12

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [20]
env:
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Cache Next.js
uses: actions/cache@v4
with:
path: .next/cache
key: ${{ runner.os }}-next-${{ hashFiles('pnpm-lock.yaml') }}-${{ hashFiles('**/*.[jt]s', '**/*.[jt]sx') }}
restore-keys: |
${{ runner.os }}-next-${{ hashFiles('pnpm-lock.yaml') }}-
- name: Install
run: pnpm install --frozen-lockfile
- name: Generate Prisma Client
run: pnpm prisma generate
- name: Lint
run: pnpm lint
- name: Typecheck
run: pnpm typecheck
- name: Build
run: pnpm build