File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,11 @@ jobs:
177
177
name : npm-package
178
178
path : ./package.tar.gz
179
179
180
+ - name : Publish npm package with dev tag
181
+ run : yarn publish:npm:dev
182
+ env :
183
+ TAG : ${{ github.event.number }}-${{ github.event.pull_request.head.sha }}
184
+
180
185
# TODO: cache building yarn --production
181
186
# possibly 2m30s of savings(?)
182
187
# this requires refactoring our release scripts
Original file line number Diff line number Diff line change 7
7
echo " TAG is not set. Cannot publish to npm without setting a tag"
8
8
exit 1
9
9
fi
10
+ echo " using tag: $TAG "
10
11
cd " $( dirname " $0 " ) /../.."
11
12
source ./ci/lib.sh
12
13
Original file line number Diff line number Diff line change 23
23
"test:scripts" : " ./ci/dev/test-scripts.sh" ,
24
24
"package" : " ./ci/build/build-packages.sh" ,
25
25
"postinstall" : " ./ci/dev/postinstall.sh" ,
26
+ "publish:npm:dev" : " ./ci/steps/publish-npm-dev.sh" ,
26
27
"_audit" : " ./ci/dev/audit.sh" ,
27
28
"fmt" : " ./ci/dev/fmt.sh" ,
28
29
"lint" : " ./ci/dev/lint.sh" ,
You can’t perform that action at this time.
0 commit comments