add loading skeleton #24
This file contains 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: CI | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Install Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Check Code Formatting | |
run: "deno fmt --check" | |
- name: Lint Code | |
run: "deno lint" | |
- name: Build step | |
run: "deno task build" | |
- name: Start Server | |
run: "deno task preview &" | |
- name: Audit URLs using Lighthouse | |
uses: treosh/lighthouse-ci-action@v11 | |
with: | |
temporaryPublicStorage: true | |
urls: | | |
http://localhost:8000 |