We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 698af5e + f1dacac commit a8cc82aCopy full SHA for a8cc82a
1 file changed
.github/workflows/publishpackage.yml
@@ -26,11 +26,19 @@ jobs:
26
env:
27
IS_PRERELEASE: ${{ github.event.release.prerelease }}
28
run: |
29
+ echo "Update npm"
30
+ npm install -g npm@latest
31
+
32
TAG=${GITHUB_REF:10}
33
echo "Processing tag: $TAG"
34
MODULE=`echo "$TAG" | sed -e 's/@ibm-verify\/\([a-zA-Z].*\)@.*$/\1/'`
35
# This step would fail if module is not a valid sdk
36
cd ${GITHUB_WORKSPACE}/sdk/${MODULE}
37
38
+ echo "Building package"
39
+ npm ci
40
+ npm run build --if-present
41
42
if [ "$IS_PRERELEASE" = "true" ]; then
43
echo "It's a pre-release."
44
npm publish --dry-run --access public
0 commit comments