Skip to content

Commit 93ec478

Browse files
update
1 parent a005ce2 commit 93ec478

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.github/workflows/build-packages.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:
17+
submodules: true
1718
persist-credentials: false
1819

1920
- name: Setup NodeJS

.github/workflows/dev-packages.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
# Action to publish packages under the `next` tag for testing
22
# Packages are versioned as `0.0.0-dev.{short-sha}`
3-
# Submodule packages are versioned by default, but can be disabled
4-
# if using a package from the external submodule repo.
53
name: Packages Deploy
64

7-
on:
8-
workflow_dispatch:
9-
inputs:
10-
include_submodules:
11-
type: boolean
12-
description: Dev version submodule packages?
13-
default: true
5+
on: workflow_dispatch
146

157
jobs:
168
publish:
@@ -19,7 +11,7 @@ jobs:
1911
steps:
2012
- uses: actions/checkout@v4
2113
with:
22-
submodules: ${{ github.event.inputs.include_submodules }}
14+
submodules: true
2315
persist-credentials: false
2416

2517
- name: Setup NodeJS

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ yarn build:packages
4242

4343

4444
### Development Packages
45-
Development packages can be published by manually triggering the `dev-packages` workflow. Development packages are versioned as `0.0.0-dev.{short-sha}`. Submodule packages are checked out, versioned and published by default, but this can be disabled if using submodule packages which are published from it's own repository.
45+
Development packages can be published by manually triggering the `dev-packages` workflow. Development packages are versioned as `0.0.0-dev.{short-sha}`.
4646

4747
### Production Packages
4848
Packages should be versioned with Lerna after PR approval.
4949

50+
Submodule production packages should be versioned, tagged and published from their own repository. Any dependencies should be updated here (if applicable) before versioning local packages.
51+
5052
```bash
5153
lerna version --no-private
5254
```

0 commit comments

Comments
 (0)