-
Notifications
You must be signed in to change notification settings - Fork 11
37 lines (32 loc) · 1.01 KB
/
nvl-entrypoint-test.yml
File metadata and controls
37 lines (32 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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