|
11 | 11 | workflow_dispatch: {} |
12 | 12 | jobs: |
13 | 13 | init: |
14 | | - if: github.repository != 'milaboratory/platforma-hello-world' |
15 | 14 | runs-on: ubuntu-latest |
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-hello-world' |
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: 3D Structure-Based Liabilities' |
| 25 | + app-name: 'Block: 3d Structure-Based Liabilities' |
29 | 26 | app-name-slug: 'block-3d-structure-based-liabilities' |
30 | | - |
31 | 27 | node-version: '20.x' |
32 | 28 | build-script-name: 'build' |
33 | 29 | pnpm-recursive-build: false |
34 | 30 |
|
35 | | - test: false |
| 31 | + test: true |
36 | 32 | test-script-name: 'test' |
37 | 33 | pnpm-recursive-tests: false |
38 | 34 | team-id: 'ciplopen' |
39 | 35 |
|
| 36 | + publish-to-public: 'true' |
40 | 37 | package-path: 'block' |
41 | | - publish-to-public: true |
42 | | - create-tag: true |
| 38 | + create-tag: 'true' |
43 | 39 |
|
44 | 40 | npmrc-config: | |
45 | 41 | { |
46 | 42 | "registries": { |
47 | 43 | "https://registry.npmjs.org/": { |
48 | | - "scopes": ["milaboratories", "platforma-open", "platforma-sdk"], |
| 44 | + "scopes": ["milaboratories", "platforma-sdk", "platforma-open"], |
49 | 45 | "tokenVar": "NPMJS_TOKEN" |
50 | | - }, |
51 | | - "https://npm.pkg.github.com/": { |
52 | | - "scopes": ["milaboratory"], |
53 | | - "tokenVar": "NODE_AUTH_TOKEN" |
54 | 46 | } |
55 | 47 | } |
56 | 48 | } |
57 | | -
|
58 | 49 | secrets: |
59 | 50 | env: | |
60 | 51 | { "PL_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }}, |
61 | 52 | "MI_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }}, |
62 | | -
|
63 | 53 | "NPMJS_TOKEN": ${{ toJSON(secrets.NPMJS_TOKEN) }}, |
64 | 54 | "PL_CI_TEST_USER": ${{ toJSON(secrets.PL_CI_TEST_USER) }}, |
65 | 55 | "PL_CI_TEST_PASSWORD": ${{ toJSON(secrets.PL_CI_TEST_PASSWORD) }}, |
|
70 | 60 | "QUAY_USERNAME": ${{ toJSON(secrets.QUAY_USERNAME) }}, |
71 | 61 | "QUAY_ROBOT_TOKEN": ${{ toJSON(secrets.QUAY_ROBOT_TOKEN) }} } |
72 | 62 |
|
73 | | - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
74 | 63 | SLACK_CHANNEL: ${{ secrets.SLACK_BLOCKS_CI_CHANNEL }} |
| 64 | + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
75 | 65 |
|
76 | 66 | GH_ZEN_APP_ID: ${{ secrets.GH_ZEN_APP_ID }} |
77 | 67 | GH_ZEN_APP_PRIVATE_KEY: ${{ secrets.GH_ZEN_APP_PRIVATE_KEY }} |
0 commit comments