gotelem/.github/workflows/nodejs.yml

26 lines
409 B
YAML
Raw Normal View History

2024-03-09 03:53:26 +00:00
name: Node.js CI
2024-03-09 03:59:22 +00:00
on:
push:
paths:
- "web/**"
2024-03-09 03:53:26 +00:00
jobs:
2024-03-09 03:59:22 +00:00
build-openmct:
2024-03-09 03:53:26 +00:00
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web/
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run build --if-present
- run: npx eslint .