chore: publish to stable channel (remove --unstable flag) #103
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: Build, Test and Release Platforma Block | |
| on: | |
| merge_group: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| branches: | |
| - 'main' | |
| push: | |
| branches: | |
| - 'main' | |
| workflow_dispatch: {} | |
| jobs: | |
| init: | |
| if: github.repository != 'milaboratory/platforma-sequence-properties' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: milaboratory/github-ci/actions/context/init@v4 | |
| with: | |
| version-canonize: false | |
| branch-versioning: main | |
| run: | |
| if: github.repository != 'milaboratory/platforma-sequence-properties' | |
| needs: | |
| - init | |
| uses: milaboratory/github-ci/.github/workflows/node-simple-pnpm.yaml@v4 | |
| with: | |
| app-name: 'Block: sequence-properties' | |
| app-name-slug: 'block-sequence-properties' | |
| node-version: '20.x' | |
| build-script-name: 'build' | |
| pnpm-recursive-build: false | |
| test: true | |
| test-script-name: 'test' | |
| pnpm-recursive-tests: false | |
| team-id: 'ciplopen' | |
| # TEMPORARY: pin test backend to last release before MILAB-6323 (deny-by-default | |
| # schemas). On 'main' the BContextEnd resource denies user KV reads, which breaks | |
| # the SDK tree-sync used by block tests. Revert to default ('main') once upstream | |
| # grants WithReadKV on the context schemas (or the SDK tolerates the denial). | |
| pl-docker-tag: '4.0.1' | |
| package-path: 'block' | |
| publish-to-public: true | |
| create-tag: true | |
| npmrc-config: | | |
| { | |
| "registries": { | |
| "https://registry.npmjs.org/": { | |
| "scopes": ["milaboratories", "platforma-open", "platforma-sdk"], | |
| "tokenVar": "NPMJS_TOKEN" | |
| }, | |
| "https://npm.pkg.github.com/": { | |
| "scopes": ["milaboratory"], | |
| "tokenVar": "NODE_AUTH_TOKEN" | |
| } | |
| } | |
| } | |
| secrets: | |
| env: | | |
| { "PL_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }}, | |
| "MI_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }}, | |
| "NPMJS_TOKEN": ${{ toJSON(secrets.NPMJS_TOKEN) }}, | |
| "PL_CI_TEST_USER": ${{ toJSON(secrets.PL_CI_TEST_USER) }}, | |
| "PL_CI_TEST_PASSWORD": ${{ toJSON(secrets.PL_CI_TEST_PASSWORD) }}, | |
| "AWS_CI_IAM_MONOREPO_SIMPLE_ROLE": ${{ toJSON(secrets.AWS_CI_IAM_MONOREPO_SIMPLE_ROLE) }}, | |
| "AWS_CI_TURBOREPO_S3_BUCKET": ${{ toJSON(secrets.AWS_CI_TURBOREPO_S3_BUCKET) }}, | |
| "PL_REGISTRY_PLATFORMA_OPEN_UPLOAD_URL": ${{ toJSON(secrets.PL_REGISTRY_PLOPEN_UPLOAD_URL) }}, | |
| "QUAY_USERNAME": ${{ toJSON(secrets.QUAY_USERNAME) }}, | |
| "QUAY_ROBOT_TOKEN": ${{ toJSON(secrets.QUAY_ROBOT_TOKEN) }} } | |
| SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | |
| SLACK_CHANNEL: ${{ secrets.SLACK_BLOCKS_CI_CHANNEL }} | |
| GH_ZEN_APP_ID: ${{ secrets.GH_ZEN_APP_ID }} | |
| GH_ZEN_APP_PRIVATE_KEY: ${{ secrets.GH_ZEN_APP_PRIVATE_KEY }} |