⚠️ Publish canary #252
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: ⚠️ Publish canary management | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 20 * * 1-5' # At UTC 20:00 (MSK 23:00) on every day-of-week from Monday through Friday | |
jobs: | |
canary: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
branch: [v3.x, main] | |
name: Publish canary for ${{ matrix.branch }} branch | |
steps: | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
with: | |
ref: ${{ matrix.branch }} | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
with: | |
node-version: '18.x' | |
validate-peer-deps: 'false' | |
- uses: taiga-family/ci/actions/setup/config/[email protected] | |
with: | |
token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }} | |
- run: npm run run-many:build:libs | |
- run: npx ts-node ./scripts/publish-canary.ts | |
concurrency: | |
group: publish-canary-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |