Skip to content

Bump @vitejs/plugin-react from 4.7.0 to 5.1.4 in /js-applet #324

Bump @vitejs/plugin-react from 4.7.0 to 5.1.4 in /js-applet

Bump @vitejs/plugin-react from 4.7.0 to 5.1.4 in /js-applet #324

name: Build JS Applet and check for changes
# This workflow builds the nvl_entrypoint and checks for changes in the neo4j_viz resources
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: ["main"]
pull_request:
paths:
- "js-applet/**"
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
tests:
# The type of runner that the job will run on
runs-on: "ubuntu-latest"
defaults:
run:
working-directory: js-applet
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Setup
run: yarn
- name: Build
run: yarn build
- name: Check for changes (run `yarn build` locally + commit if this fails)
run: git diff --exit-code