|
11 | 11 | workflow_dispatch: {} |
12 | 12 | jobs: |
13 | 13 | init: |
14 | | - if: github.repository != 'milaboratory/platforma-sequence-properties' |
15 | | - runs-on: ubuntu-latest |
| 14 | + runs-on: hz-ubuntu-dind |
16 | 15 | steps: |
17 | 16 | - uses: milaboratory/github-ci/actions/context/init@v4 |
18 | 17 | with: |
19 | 18 | version-canonize: false |
20 | 19 | branch-versioning: main |
21 | 20 | run: |
22 | | - if: github.repository != 'milaboratory/platforma-sequence-properties' |
23 | 21 | needs: |
24 | 22 | - init |
25 | | - |
26 | 23 | uses: milaboratory/github-ci/.github/workflows/node-simple-pnpm.yaml@v4 |
27 | 24 | with: |
28 | | - app-name: 'Block: sequence-properties' |
| 25 | + app-name: 'Block: Sequence Properties' |
29 | 26 | app-name-slug: 'block-sequence-properties' |
30 | | - |
31 | | - node-version: '20.x' |
32 | | - build-script-name: 'build' |
| 27 | + node-version: '22.x' |
| 28 | + gha-runner-label: hz-ubuntu-dind |
| 29 | + build-script-name: 'build:dev-local' |
| 30 | + build-before-publish-script-name: 'build:release' |
33 | 31 | pnpm-recursive-build: false |
34 | 32 |
|
35 | 33 | test: true |
36 | 34 | test-script-name: 'test' |
37 | 35 | pnpm-recursive-tests: false |
38 | 36 | team-id: 'ciplopen' |
39 | 37 |
|
| 38 | + publish-to-public: 'true' |
40 | 39 | package-path: 'block' |
41 | | - publish-to-public: true |
42 | | - create-tag: true |
| 40 | + create-tag: 'true' |
| 41 | + |
| 42 | + # Require the published `block` package to be bumped by a changeset on |
| 43 | + # PRs (empty changeset or the `skip-changelog` label waives it). Needs |
| 44 | + # the input to exist on the pinned `@v4` reusable workflow. |
| 45 | + require-package-path-bump: true |
43 | 46 |
|
44 | 47 | npmrc-config: | |
45 | 48 | { |
46 | 49 | "registries": { |
47 | 50 | "https://registry.npmjs.org/": { |
48 | | - "scopes": ["milaboratories", "platforma-open", "platforma-sdk"], |
| 51 | + "scopes": ["milaboratories", "platforma-sdk", "platforma-open"], |
49 | 52 | "tokenVar": "NPMJS_TOKEN" |
50 | | - }, |
51 | | - "https://npm.pkg.github.com/": { |
52 | | - "scopes": ["milaboratory"], |
53 | | - "tokenVar": "NODE_AUTH_TOKEN" |
54 | 53 | } |
55 | 54 | } |
56 | 55 | } |
57 | | -
|
58 | 56 | secrets: |
59 | 57 | env: | |
60 | 58 | { "PL_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }}, |
61 | 59 | "MI_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }}, |
62 | | -
|
63 | 60 | "NPMJS_TOKEN": ${{ toJSON(secrets.NPMJS_TOKEN) }}, |
64 | 61 | "PL_CI_TEST_USER": ${{ toJSON(secrets.PL_CI_TEST_USER) }}, |
65 | 62 | "PL_CI_TEST_PASSWORD": ${{ toJSON(secrets.PL_CI_TEST_PASSWORD) }}, |
66 | 63 |
|
67 | 64 | "AWS_CI_IAM_MONOREPO_SIMPLE_ROLE": ${{ toJSON(secrets.AWS_CI_IAM_MONOREPO_SIMPLE_ROLE) }}, |
68 | 65 | "AWS_CI_TURBOREPO_S3_BUCKET": ${{ toJSON(secrets.AWS_CI_TURBOREPO_S3_BUCKET) }}, |
| 66 | +
|
| 67 | + "HZ_CI_TURBO_S3_BUCKET": ${{ toJSON(vars.HZ_CI_TURBO_S3_BUCKET) }}, |
| 68 | + "HZ_CI_TURBO_S3_ENDPOINT": ${{ toJSON(vars.HZ_CI_TURBO_S3_ENDPOINT) }}, |
| 69 | + "HZ_CI_TURBO_S3_REGION": ${{ toJSON(vars.HZ_CI_TURBO_S3_REGION) }}, |
| 70 | + "HZ_CI_TURBO_S3_ACCESS_KEY": ${{ toJSON(secrets.HZ_CI_TURBO_S3_ACCESS_KEY) }}, |
| 71 | + "HZ_CI_TURBO_S3_SECRET_KEY": ${{ toJSON(secrets.HZ_CI_TURBO_S3_SECRET_KEY) }}, |
| 72 | + "HZ_CI_CACHE_S3_ACCESS_KEY": ${{ toJSON(secrets.HZ_CI_CACHE_S3_ACCESS_KEY) }}, |
| 73 | + "HZ_CI_CACHE_S3_SECRET_KEY": ${{ toJSON(secrets.HZ_CI_CACHE_S3_SECRET_KEY) }}, |
| 74 | +
|
69 | 75 | "PL_REGISTRY_PLATFORMA_OPEN_UPLOAD_URL": ${{ toJSON(secrets.PL_REGISTRY_PLOPEN_UPLOAD_URL) }}, |
70 | 76 | "QUAY_USERNAME": ${{ toJSON(secrets.QUAY_USERNAME) }}, |
71 | 77 | "QUAY_ROBOT_TOKEN": ${{ toJSON(secrets.QUAY_ROBOT_TOKEN) }} } |
72 | 78 |
|
73 | | - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
74 | 79 | SLACK_CHANNEL: ${{ secrets.SLACK_BLOCKS_CI_CHANNEL }} |
| 80 | + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
75 | 81 |
|
76 | 82 | GH_ZEN_APP_ID: ${{ secrets.GH_ZEN_APP_ID }} |
77 | 83 | GH_ZEN_APP_PRIVATE_KEY: ${{ secrets.GH_ZEN_APP_PRIVATE_KEY }} |
0 commit comments