Skip to content

Update package config (#36) #100

Update package config (#36)

Update package config (#36) #100

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
jobs:
build:
runs-on: windows-latest
permissions: read-all
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Prep and Command Line Build
run: |
npm ci
pushd app
npm ci
npm run devenvandjsnbuild --max_old_space_size=16384
popd
- name: Run Tests
id: runtests
run: |
pushd samplecontent
pushd addon
npm ci
npx gulp package
popd
popd
pushd app
npm test
popd
- name: Web Build
run: |
pushd app
npm run webbuild --max_old_space_size=16384
pushd toolbuild
pushd jsn
npm pack --max_old_space_size=16384
popd
popd
popd