fix(memories): record the resolved path, not the raw pointer (FT-MR11… #14
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: [main] | |
| paths: | |
| - "packages/**" | |
| - "apps/**" | |
| - "site/**" | |
| - "package.json" | |
| - "package-lock.json" | |
| - "tsconfig.base.json" | |
| - ".github/workflows/**" | |
| pull_request: | |
| paths: | |
| - "packages/**" | |
| - "apps/**" | |
| - "site/**" | |
| - "package.json" | |
| - "package-lock.json" | |
| - "tsconfig.base.json" | |
| - ".github/workflows/**" | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20, 22] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm test | |
| - run: npm audit --audit-level=moderate | |
| # Deploy the handbook + landing to GitHub Pages — only on a push to main, | |
| # only after build-and-test passes. Folded into this workflow (rather than a | |
| # separate pages.yml) to honor the github-actions.md max-2-workflows rule | |
| # (ci.yml + release.yml). | |
| deploy-pages: | |
| needs: build-and-test | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| - name: Install site dependencies | |
| working-directory: site | |
| run: npm ci | |
| - name: Build site | |
| working-directory: site | |
| run: npm run build | |
| - uses: actions/upload-pages-artifact@v5 | |
| with: | |
| path: site/dist | |
| - id: deployment | |
| uses: actions/deploy-pages@v5 |