Move extension to the adr-org publisher and release as 0.0.1 #50
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: Extension · CI | |
| on: | |
| push: | |
| paths: | |
| - "apps/vscode-adr-manager/**" | |
| - "packages/**" | |
| - "pnpm-lock.yaml" | |
| - ".github/workflows/extension-ci.yml" | |
| workflow_dispatch: | |
| jobs: | |
| build-test: | |
| name: Build, test & package | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - uses: pnpm/action-setup@v6 | |
| with: | |
| cache: true | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm --filter vscode-adr-manager test # `pretest` auto-runs typecheck + compile + lint | |
| - run: pnpm vsix | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: vsix | |
| path: apps/vscode-adr-manager/*.vsix |