Skip to content

fix ordering of builds, latest to oldest, on chrome. #495

fix ordering of builds, latest to oldest, on chrome.

fix ordering of builds, latest to oldest, on chrome. #495

Workflow file for this run

name: Build App
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build_app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version-file: 'app/.nvmrc'
- run: echo "VITE_GIT_SHA=$(git rev-parse --short HEAD)" >> app/.env
- name: Check styles
run: npm ci && npm run tsc && npm run check
working-directory: styles
- run: npm ci && npm run tsc && npm run check && npm run build
working-directory: app
- name: Generate styles typedoc
run: npx typedoc src/index.ts --out ../app/dist/typedoc
working-directory: styles
- run: python .github/check_examples.py
- uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./app/dist
force_orphan: true
cname: maps.protomaps.com