Skip to content

Commit

Permalink
fix for GA WF
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolotin committed Sep 29, 2024
1 parent db5308b commit 516e361
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Test NPM packages
name: Build, Test & Publish Block
on:
pull_request:
types: [opened, reopened, synchronize]
Expand All @@ -8,7 +8,6 @@ on:
branches:
- 'main'
workflow_dispatch: {}

jobs:
init:
runs-on: ubuntu-latest
Expand All @@ -20,24 +19,35 @@ jobs:
run:
needs:
- init

uses: milaboratory/github-ci-internal/.github/workflows/node-docker-simple-fast-pnpm.yaml@v4
uses: milaboratory/github-ci/.github/workflows/node-docker-simple-fast-pnpm.yaml@v4-beta
with:
app-name: MiXCR Clonotyping
app-name-slug: 'block-mixcr-clonotyping'
app-name-slug: 'mixcr-clonotyping'
notify-telegram: true

node-version: '20.x'
always-auth: 'true'

build-script-name: 'build'

test: true
test-script-name: 'test'

pnpm-recursive-build: true
pnpm-recursive-tests: true
publish-to-public: 'false'
npmrc-config: |
{
"registries": {
"https://npm.pkg.github.com/": {
"scopes": ["platforma-open"],
"tokenVar": "NODE_AUTH_TOKEN"
}
}
}
secrets:
env: |
{ "PL_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }}, "MI_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }} }
{
"PL_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }},
"MI_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }},
"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) }}
}
TELEGRAM_NOTIFICATION_TARGET: ${{ secrets.TG_CHANNEL_MIBUILDS }}
TELEGRAM_API_TOKEN: ${{ secrets.TG_CI_BOT_TOKEN }}

0 comments on commit 516e361

Please sign in to comment.