Skip to content

Commit 0d6984b

Browse files
authored
fix(build): Publish pipeline (#27)
1 parent 6290234 commit 0d6984b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@ jobs:
2525
run: |
2626
if [[ ${VERSION} == *"alpha"* || ${VERSION} == *"beta"* || ${VERSION} == *"rc"* ]]; then echo "NPM_TAG=next"; else echo "NPM_TAG=latest"; fi >> $GITHUB_ENV
2727
echo ${NPM_TAG}
28-
- name: Create apexgrid version
28+
29+
- name: Version the package
2930
run: npm version ${VERSION} --no-git-tag-version --save --verbose
30-
- run: npm publish --tag ${NPM_TAG}
31+
working-directory: dist
32+
33+
- name: Publish the package
34+
run: npm publish --tag ${NPM_TAG}
35+
working-directory: dist
3136
env:
3237
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)