-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #314 from IBMa/workflow-test
Fix extension publish workflow
- Loading branch information
Showing
4 changed files
with
18 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
if [ -n "$RELEASE_VERSION" ]; then | ||
if [ -n "${GITHUB_REF:10}" ]; then | ||
cd ./accessibility-checker/src; | ||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >.npmrc; | ||
echo "Deploy accessibility-checker version $RELEASE_VERSION..."; | ||
npm --no-git-tag-version version $RELEASE_VERSION; | ||
echo "Deploy accessibility-checker version ${GITHUB_REF:10}..."; | ||
npm --no-git-tag-version version ${GITHUB_REF:10}; | ||
npm publish; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
if [ -n "$RELEASE_VERSION" ]; then | ||
if [ -n "${GITHUB_REF:10}" ]; then | ||
cd ./karma-accessibility-checker/src; | ||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >.npmrc; | ||
echo "Deploy karma-accessibility-checker version $RELEASE_VERSION..."; | ||
npm --no-git-tag-version version $RELEASE_VERSION; | ||
echo "Deploy karma-accessibility-checker version ${GITHUB_REF:10}..."; | ||
npm --no-git-tag-version version ${GITHUB_REF:10}; | ||
npm publish; | ||
fi |