Skip to content

Merge branch 'main' of https://github.com/meatpiHQ/wican-fw #18

Merge branch 'main' of https://github.com/meatpiHQ/wican-fw

Merge branch 'main' of https://github.com/meatpiHQ/wican-fw #18

name: Build Vehicle Profiles
on:
push:
branches:
- main
paths:
- 'vehicle_profiles/**'
- '.vehicle_profiles/**'
- '.github/workflows/vehicle_profiles.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: |
cd .vehicle_profiles
npm ci
npm run build
cd -
- name: Commit
uses: EndBug/add-and-commit@v9
with:
add: 'vehicle_profiles.json'
author_name: Jay Oswald
author_email: [email protected]