Skip to content

Sync push subscription endpoint to DB on every app load #492

Sync push subscription endpoint to DB on every app load

Sync push subscription endpoint to DB on every app load #492

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format:check
- name: Run linter
run: npm run lint
- name: Run type check
run: npm run typecheck
- name: Run unit tests
run: npm run test -- --run
- name: Build project
run: npm run build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
if: success()
with:
name: build-files
path: dist/
retention-days: 7