Skip to content

Commit bd81233

Browse files
committed
Prune development assets from release
1 parent 5aea877 commit bd81233

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
node_modules
33
lib
44
*.log
5+
.yarnclean

circle.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ jobs:
66
- image: circleci/node:10.2.1-stretch
77
steps:
88
- checkout
9-
- run: yarn --frozen-lockfile
10-
- run: yarn build
9+
- run: yarn --frozen-lockfile --link-duplicates
10+
- run: yarn --production --force --ignore-scripts --prefer-offline
11+
- run: yarn autoclean --init
12+
- run: echo *.ts >> .yarnclean
13+
- run: echo *.ts.map >> .yarnclean
14+
- run: echo *.spec.* >> .yarnclean
15+
- run: yarn autoclean --force
16+
- run: yarn cache clean
1117
- persist_to_workspace:
1218
root: ../
1319
paths:

0 commit comments

Comments
 (0)