Skip to content

Add test workflow

Add test workflow #3

Workflow file for this run

name: Test
on:
push:
branches:
- '*'
- '!main'
pull_request:
branches:
- '*'
- '!main'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run buildprod
- name: Validate build is correctly build
run: git diff