Skip to content

feat(projects): Samples and starters #81

feat(projects): Samples and starters

feat(projects): Samples and starters #81

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