Skip to content

refactor: Link landscapes directly to shared files, links and visualizations #2977

refactor: Link landscapes directly to shared files, links and visualizations

refactor: Link landscapes directly to shared files, links and visualizations #2977

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.tool-versions'
cache: 'npm'
- name: Install Node dependencies
run: npm ci
- name: Typecheck TypeScript
run: npm run check-ts
- name: Lint JavaScript
run: npm run lint-js
- name: Lint CSS
run: npm run lint-css
- name: Check NPM module usage
run: npm run check-modules
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.tool-versions'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run test
run: npm run test
tests-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.tool-versions'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run test
run: npm run test-coverage
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.tool-versions'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build