Skip to content

Commit da9689f

Browse files
committed
Added token to publish
1 parent 7463ba9 commit da9689f

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/prerelease.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,11 @@ jobs:
3737
- run: yarn build
3838
- run: yarn test
3939

40-
- name: Setup GIT
41-
run: |
42-
git reset --hard
43-
git config --local --list
44-
git checkout master
45-
echo "Configured git as $GH_USER <$GH_EMAIL>"
46-
git config user.email "$GH_EMAIL"
47-
git config user.name "$GH_USER"
48-
env:
49-
GH_EMAIL: ${{ secrets.GH_EMAIL }}
50-
GH_USER: ${{ secrets.GH_USER }}
51-
5240
# ---- PUBLISH WITH TRUSTED PUBLISHING ----
5341

5442
- name: npm publish @wix/interact (trusted)
5543
run: |
5644
cd packages/interact
5745
npm publish --tag rc
46+
env:
47+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)