Merge pull request #57 from harche/feat/k8s-single-sandbox-manifest #11
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: publish | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: npm | |
| registry-url: "https://registry.npmjs.org" | |
| - run: npm ci | |
| # Build workspace packages in dependency order | |
| - run: npm run build -w @prodisco/search-libs | |
| - run: npm run build -w @prodisco/loki-client | |
| - run: npm run build -w @prodisco/prometheus-client | |
| - run: npm run proto:generate -w @prodisco/sandbox-server | |
| - run: npm run build -w @prodisco/sandbox-server | |
| - run: npm run build | |
| - name: Create Release PR or Publish | |
| id: changesets | |
| uses: changesets/action@v1 | |
| with: | |
| version: bash scripts/ci/changeset-version.sh | |
| publish: bash scripts/ci/changeset-publish.sh | |
| title: "chore: version packages" | |
| commit: "chore: version packages" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |