Skip to content

Add NavBar

Add NavBar #32

Workflow file for this run

name: Lint, Build and Test
on:
pull_request:
push:
branches:
- 'develop'
env:
APP_MAPBOX_ACCESS_TOKEN: ${{ vars.APP_MAPBOX_ACCESS_TOKEN }}
GITHUB_WORKFLOW: true
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Run test
run: yarn test
unimported:
name: Find unimported files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Run unimported
run: yarn unimported
lint:
name: Lint JS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn lint
css-lint:
name: Lint CSS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Css Lint
run: yarn lint:css
# typecheck:
# name: Typecheck
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 20
# cache: 'yarn'
# - name: Install dependencies
# run: yarn install
# - name: Typecheck
# run: yarn typecheck
build:
name: Build
# needs: [lint, css-lint, typecheck, test]
needs: [lint, css-lint, typecheck, test]

Check failure on line 92 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Lint, Build and Test

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 92, Col: 29): Job 'build' depends on unknown job 'typecheck'.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build