Update safes app provider and sdk to support off-chain voting (#99) #121
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to NPM | |
on: [push] | |
jobs: | |
build-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
cache: 'yarn' | |
- run: yarn install | |
- run: yarn lint | |
- run: yarn build | |
- id: publish | |
name: Publish to NPM | |
if: github.ref == 'refs/heads/master' | |
uses: JS-DevTools/npm-publish@v1 | |
with: | |
token: ${{ secrets.NPM_TOKEN }} | |
access: public | |
- name: Tag successful release | |
if: steps.publish.outputs.version != steps.publish.outputs.old-version | |
uses: rickstaa/action-create-tag@v1 | |
with: | |
tag: v${{ steps.publish.outputs.version }} | |
message: 'Latest v${{ steps.publish.outputs.version }}' |