feat: migrate to turbo #21
This file contains 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 Assets | |
on: | |
merge_group: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches: | |
- 'main' | |
push: | |
branches: | |
- 'main' | |
workflow_dispatch: {} | |
jobs: | |
init: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: milaboratory/github-ci/actions/context/init@v4 | |
with: | |
version-canonize: false | |
branch-versioning: main | |
run: | |
needs: | |
- init | |
uses: milaboratory/github-ci/.github/workflows/node-simple-pnpm.yaml@v4 | |
with: | |
app-name: 'Assets: Genome' | |
app-name-slug: 'assets-genome' | |
notify-telegram: true | |
node-version: '20.x' | |
build-script-name: 'build' | |
pnpm-recursive-build: false | |
test: false | |
test-script-name: 'test' | |
pnpm-recursive-tests: false | |
team-id: 'ciplopen' | |
publish-to-public: 'true' | |
package-path: 'catalogue' | |
create-tag: 'true' | |
gha-runner-label: 'ubuntu-2xlarge-amd64' | |
aws-login-duration: 43199 | |
pre-calculated: true | |
pre-calculated-task-list: | | |
[ | |
{ "step": "@platforma-open/milaboratories.genome-assets.mus-musculus" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.test-species" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.sus-scrofa" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.saccharomyces-cerevisiae" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.rattus-norvegicus" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.homo-sapiens" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.gallus-gallus" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.drosophila-melanogaster" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.danio-rerio" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.caenorhabditis-elegans" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.bos-taurus" }, | |
{ "step": "@platforma-open/milaboratories.genome-assets.arabidopsis-thaliana" } | |
] | |
npmrc-config: | | |
{ | |
"registries": { | |
"https://registry.npmjs.org/": { | |
"scopes": ["milaboratories", "platforma-sdk", "platforma-open"], | |
"tokenVar": "NPMJS_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_US_S3_BUCKET) }}, | |
"PL_REGISTRY_PLATFORMA_OPEN_UPLOAD_URL": ${{ toJSON(secrets.PL_REGISTRY_PLOPEN_UPLOAD_URL) }} } | |
TELEGRAM_NOTIFICATION_TARGET: ${{ secrets.TG_CHANNEL_MIBUILDS }} | |
TELEGRAM_API_TOKEN: ${{ secrets.TG_CI_BOT_TOKEN }} | |
GH_ZEN_APP_ID: ${{ secrets.GH_ZEN_APP_ID }} | |
GH_ZEN_APP_PRIVATE_KEY: ${{ secrets.GH_ZEN_APP_PRIVATE_KEY }} |