2025-04-24 21:36:58 +00:00
|
|
|
steps:
|
|
|
|
|
# Install dependencies
|
2025-04-25 00:40:23 +00:00
|
|
|
- name: 'node'
|
|
|
|
|
entrypoint: 'npm'
|
2025-04-24 21:36:58 +00:00
|
|
|
args: ['install']
|
|
|
|
|
|
|
|
|
|
# Run prerelease versioning script across workspaces with dynamic version
|
2025-04-25 00:40:23 +00:00
|
|
|
- name: 'node'
|
2025-04-24 21:36:58 +00:00
|
|
|
entrypoint: 'bash'
|
|
|
|
|
args:
|
|
|
|
|
- '-c'
|
|
|
|
|
- |
|
2025-04-25 00:40:23 +00:00
|
|
|
npm run prerelease:version --workspaces -- --suffix="$SHORT_SHA.$(date +%Y%m%d).$_REVISION"
|
2025-04-24 21:36:58 +00:00
|
|
|
|
|
|
|
|
# Run prerelease dependency script across workspaces
|
2025-04-25 00:40:23 +00:00
|
|
|
- name: 'node'
|
|
|
|
|
entrypoint: 'npm'
|
2025-04-24 21:36:58 +00:00
|
|
|
args: ['run', 'prerelease:deps', '--workspaces']
|
|
|
|
|
|
|
|
|
|
# Authenticate with our registry
|
2025-04-25 00:40:23 +00:00
|
|
|
- name: 'node'
|
|
|
|
|
entrypoint: 'npm'
|
|
|
|
|
args: ['run', 'auth']
|
2025-04-24 21:36:58 +00:00
|
|
|
|
|
|
|
|
# Publish packages from workspaces with 'dogfood' tag
|
2025-04-25 00:40:23 +00:00
|
|
|
- name: 'node'
|
|
|
|
|
entrypoint: 'npm'
|
2025-04-24 21:36:58 +00:00
|
|
|
args: ['publish', '--tag=head', '--workspaces']
|
2025-04-25 00:40:23 +00:00
|
|
|
|
|
|
|
|
options:
|
|
|
|
|
defaultLogsBucketBehavior: REGIONAL_USER_OWNED_BUCKET
|