Skip to content

Commit 9704dd7

Browse files
Updates
0 parents  commit 9704dd7

39 files changed

Lines changed: 812 additions & 0 deletions

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
VITE_FISHFRY_API_URL=https://data.pghfishfry.org/api/fishfries/
2+
VITE_FISHFRY_FALLBACK_URL=/data/fishfrymap.geojson
3+
VITE_FISHFRY_YEAR=2026
4+
VITE_MAPBOX_TOKEN=
5+
VITE_CLIENT_ERROR_DSN=
6+
VITE_CLIENT_ERROR_SAMPLE_RATE=1

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
pull_request:
9+
10+
jobs:
11+
test-and-build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 22
22+
cache: npm
23+
24+
- name: Install dependencies
25+
run: npm ci
26+
27+
- name: Build
28+
run: npm run build
29+
30+
- name: Unit tests
31+
run: npm run test:unit
32+
33+
- name: Install Playwright Chromium
34+
run: npx playwright install --with-deps chromium
35+
36+
- name: Parity tests
37+
run: npm run test:parity

.github/workflows/deploy.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: write
12+
13+
concurrency:
14+
group: deploy-pages
15+
cancel-in-progress: true
16+
17+
jobs:
18+
deploy:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Setup Node
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 22
29+
cache: npm
30+
31+
- name: Install dependencies
32+
run: npm ci
33+
34+
- name: Build
35+
run: npm run build
36+
37+
- name: Configure git author
38+
run: |
39+
git config user.name "github-actions[bot]"
40+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
41+
42+
- name: Publish to gh-pages branch
43+
run: npx gh-pages -d dist -r https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
44+
env:
45+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/_site
2+
/.vscode
3+
/node_modules
4+
/dist
5+
/.env
6+
/test-results
7+
/playwright-report
8+
/nbproject/private/
9+
/nbproject

assets/L.Control.Basemaps-min-Dq6vWDBJ.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/L.Control.Basemaps-min-Dq6vWDBJ.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/L.Control.Locate-B9A4tNlP.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/L.Control.Locate-B9A4tNlP.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/L.geoJsonFilter-DwHjpWUS.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/L.geoJsonFilter-DwHjpWUS.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)