Skip to content

Commit

Permalink
Merge pull request #6 from huineng/gh
Browse files Browse the repository at this point in the history
chore: testing deploy
  • Loading branch information
huineng authored Feb 24, 2021
2 parents 3bf408f + ec2d7ab commit b465ea1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/diem-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: "15.x"

- run: npm ci
- run: npm run eslint --if-present
- run: npm run build --if-present

- name: Deploy to NPM
uses: JS-DevTools/npm-publish@v1
if: github.event_name == 'push' && ( github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' )
with:
token: ${{ secrets.NPM_TOKEN }}
4 changes: 3 additions & 1 deletion packages/diem-common/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Leap Base utilities
# Common Code for Diem Backend

![npm (scoped)](https://img.shields.io/npm/v/@mydiem/diem-util)

0 comments on commit b465ea1

Please sign in to comment.