docs: update persistence examples for new declarative API #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Build Viewer | |
| on: | |
| pull_request: | |
| paths: | |
| - 'WebSites/spacecraft-viewer/**' | |
| push: | |
| paths: | |
| - 'WebSites/spacecraft-viewer/**' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: "Build and Test spacecraft-viewer" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v4 | |
| - name: Install node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| - name: Install dependencies | |
| run: | | |
| cd ./WebSites/spacecraft-viewer | |
| npm install | |
| - name: Run tests | |
| run: | | |
| cd ./WebSites/spacecraft-viewer | |
| npm test | |
| - name: Build library | |
| run: | | |
| cd ./WebSites/spacecraft-viewer | |
| npm run build | |
| - name: Check bundle size | |
| run: | | |
| cd ./WebSites/spacecraft-viewer | |
| ls -lh dist/ |