Skip to content

fix: remove non-existent PNG icons from manifest, fix CSP meta tag #5

fix: remove non-existent PNG icons from manifest, fix CSP meta tag

fix: remove non-existent PNG icons from manifest, fix CSP meta tag #5

Workflow file for this run

name: CI / Deploy to GitHub Pages
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
# ── Syntax & basic checks ──────────────────────────────────────────────
check:
name: Lint & Syntax
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check JS syntax
run: node --check js/app.js sw.js
- name: Validate HTML (vnu)
uses: Cyb3r-Jak3/html5validator-action@v7.2.0
with:
root: .
extra: --skip-non-html
# ── Deploy (main branch only) ──────────────────────────────────────────
deploy:
name: Deploy
needs: check
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v4
- uses: actions/upload-pages-artifact@v3
with:
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4