Skip to content

Commit 453e4f8

Browse files
Configure npm workspaces
1 parent 66d928b commit 453e4f8

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ jobs:
6969
clean: true
7070

7171
- name: Publish NPM package
72-
run: npm publish
72+
run: npm publish --workspace nhsuk-frontend
7373
env:
7474
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

package-lock.json

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"private": true,
44
"description": "Used only for the development of NHS.UK frontend, see `packages/nhsuk-frontend/package.json` for the published `package.json`",
55
"license": "MIT",
6+
"workspaces": [
7+
"packages/nhsuk-frontend",
8+
"packages/nhsuk-frontend-review"
9+
],
610
"scripts": {
711
"postinstall": "playwright install chromium --with-deps --only-shell",
812
"build": "gulp build docs:build --color --series",

0 commit comments

Comments
 (0)