Skip to content

Build Simulator Extension #1

Build Simulator Extension

Build Simulator Extension #1

Workflow file for this run

name: Build Simulator Extension
on:
push:
paths:
- "simx/**"
tags:
- v**
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
permissions:
actions: read
contents: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
working-directory: simx
- run: npm run build
working-directory: simx
- name: github pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./simx/dist
allow_empty_commit: true