Run workflows on PRs + Perform test build
This commit is contained in:
3
.github/workflows/chromatic.yml
vendored
3
.github/workflows/chromatic.yml
vendored
@@ -7,6 +7,9 @@ on:
|
||||
push:
|
||||
paths:
|
||||
- web/**
|
||||
pull_request:
|
||||
paths:
|
||||
- web/**
|
||||
|
||||
# List of jobs
|
||||
jobs:
|
||||
|
||||
3
.github/workflows/javascript-formatting.yml
vendored
3
.github/workflows/javascript-formatting.yml
vendored
@@ -5,6 +5,9 @@ on:
|
||||
push:
|
||||
paths:
|
||||
- web/**
|
||||
pull_request:
|
||||
paths:
|
||||
- web/**
|
||||
|
||||
jobs:
|
||||
prettier:
|
||||
|
||||
28
.github/workflows/test-webapp-build.yaml
vendored
Normal file
28
.github/workflows/test-webapp-build.yaml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Webapp Test Build
|
||||
|
||||
# This action works with pull requests and pushes
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- web/**
|
||||
pull_request:
|
||||
paths:
|
||||
- web/**
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./web
|
||||
|
||||
name: Build webapp
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
Reference in New Issue
Block a user