Skip to content

Feature: add configurable selection of vehicles on train(s) as a target #98

Feature: add configurable selection of vehicles on train(s) as a target

Feature: add configurable selection of vehicles on train(s) as a target #98

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci --prefer-offline --no-audit
- run: npm run lint
build:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci --prefer-offline --no-audit
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: RideVehicleEditor.js
path: dist/RideVehicleEditor.js
test:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci --prefer-offline --no-audit
- run: npm run test