Skip to content

Commit a576d13

Browse files
committed
ci: use production dependencies only for publish
- Removes dev dependencies from Docker image
1 parent a0ca5f3 commit a576d13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ jobs:
2121
- uses: actions/setup-node@v2
2222
with:
2323
node-version: '16.13.0'
24-
- name: Install Dependencies
24+
- name: Install All Dependencies
2525
run: npm ci
2626
- name: Build
2727
run: npm run build
28+
- name: Install Production Dependencies
29+
run: npm ci --production
2830
- name: Login to the Container Registry
2931
uses: docker/login-action@v1
3032
with:

0 commit comments

Comments
 (0)