Honor WEB_SHELL_CWD env var for new shell cwd #4
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 | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run typecheck | |
| - run: npm run build | |
| - name: Verify dist artifacts | |
| run: | | |
| test -f server/dist/index.js | |
| test -f client/dist/index.html | |
| - name: Smoke test npm pack | |
| run: npm pack --dry-run | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: dist | |
| path: | | |
| server/dist | |
| client/dist | |
| retention-days: 7 |