Add service workers, support for trusted types, minor fixes #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Check formatting' | |
| # This workflow runs on pushes to any branch | |
| # and on any pull request | |
| on: | |
| [push, pull_request] | |
| jobs: | |
| prettier-format-commit: | |
| name: Check prettier formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Run Prettier and format files | |
| run: | | |
| npm install --global prettier | |
| prettier --check . --config .prettierrc |