Skip to content

feat: impl paragraph expansion & each BodyElement Result return #48

feat: impl paragraph expansion & each BodyElement Result return

feat: impl paragraph expansion & each BodyElement Result return #48

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Main Branch Build & Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm test
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: build-dist
path: './dist'