Add architecture overview documentation #2
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: test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: ${{ matrix.os }} / Node ${{ matrix.node }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: ['22', '24'] | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Verify engines.node >= 22 | |
| run: node -e "const m=Number(process.versions.node.split('.')[0]); if(m<22){console.error('Node major',m,'< 22');process.exit(1)}" | |
| - name: Syntax-check all scripts | |
| shell: bash | |
| run: | | |
| for f in skills/houdiniswap/scripts/*.mjs scripts/*.mjs; do | |
| node --check "$f" | |
| done | |
| - name: Run test suite | |
| run: npm test |