Skip to content

Commit 7cca3b1

Browse files
author
sangeet-joy_xero
committed
enabled publish step
1 parent b853b4b commit 7cca3b1

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/publish.yml

+5-13
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@ jobs:
3636
run: npm run build
3737
working-directory: xero-node
3838

39-
- name: checking dist
40-
run: |
41-
echo "checking current folders --"
42-
ls -al
43-
echo "viewing package json"
44-
cat package.json
45-
46-
4739
# - name: Fetch Latest release number
4840
# id: get_latest_release_number
4941
# run: |
@@ -54,11 +46,11 @@ jobs:
5446
# env:
5547
# GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
5648

57-
# - name: Publish to npm
58-
# env:
59-
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
60-
# run: npm publish
61-
# working-directory: xero-node
49+
- name: Publish to npm
50+
env:
51+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
52+
run: npm publish
53+
working-directory: xero-node
6254

6355
# notify-slack-on-success:
6456
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)