Skip to content

Add z-bot urdf

Add z-bot urdf #317

Workflow file for this run

name: CI Checks (Linting and Formatting)
on:
push:
branches:
- master
- staging
pull_request:
branches:
- master
- staging
types:
- opened
- reopened
- synchronize
- ready_for_review
concurrency:
group: ci-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint-and-format:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"
- name: Restore cache
id: restore-cache
uses: actions/cache/restore@v3
with:
path: |
node_modules/
key: deps-${{ github.event.pull_request.base.sha || github.sha }}
restore-keys: |
deps-
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Check formatting
run: npm run format:check
- name: Run linting
run: npm run lint
- name: Build frontend
run: npm run build
- name: Save cache
uses: actions/cache/save@v3
if: github.ref == 'refs/heads/master'
with:
path: |
node_modules/
key: deps-${{ steps.restore-cache.outputs.cache-primary-key }}