Skip to content

CI build changed plugins #6

CI build changed plugins

CI build changed plugins #6

name: Build plugins/snapshot
on:
push:
branches: ["main"]
paths: ["plugins/snapshot/**"]
pull_request:
paths: ["plugins/snapshot/**"]
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./plugins/snapshot
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Set up base packages
run: ./npm-install-base.sh
working-directory: .
- run: npm ci
- run: npm run build