Skip to content

Commit 89f5b9d

Browse files
committed
Update release pipeline
1 parent d88e3f6 commit 89f5b9d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ jobs:
3737
git config --global push.followTags true
3838
npm version ${{ env.VERSION_CHANGE }} -m "Release %s"
3939
- name: Build Library ⚒️
40-
run: npm run build:lib && npm run prepare:lib && cd dist/state
40+
run: npm run build:lib && npm run prepare:lib
4141
- name: Get meta data 🔍
4242
run: |
43+
cd dist/state
4344
NODE_VERSION=$(node -p -e "require('./package.json').version")
4445
echo VERSION=$NODE_VERSION >> $GITHUB_ENV
4546
NODE_NAME=$(node -p -e "require('./package.json').name")
@@ -55,6 +56,8 @@ jobs:
5556
name: ${{ env.DISPLAY_NAME }} v${{ env.VERSION }}
5657
generate_release_notes: true
5758
- name: Publish to NPM Registry 🚀
58-
run: npm publish
59+
run: |
60+
cd dist/state
61+
npm publish
5962
env:
6063
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)