Skip to content

v0.7.13

v0.7.13 #224

Workflow file for this run

name: npm-publish
on:
release:
types: [released]
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- name: Publish Production Release
if: |
!(contains(github.ref, 'beta') || contains(github.ref, 'dev'))
uses: JS-DevTools/npm-publish@v1
env:
PUBLIC_ADDRESS: ${{ secrets.PUBLIC_ADDRESS }}
ETH_NODE_URL: ${{ secrets.ETH_NODE_URL }}
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
tag: latest
- name: Publish Beta Release
if: "contains(github.ref, 'beta')"
uses: JS-DevTools/npm-publish@v1
env:
PUBLIC_ADDRESS: ${{ secrets.PUBLIC_ADDRESS }}
ETH_NODE_URL: ${{ secrets.ETH_NODE_URL }}
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
tag: beta
- name: Publish Dev Release
if: "contains(github.ref, 'dev')"
uses: JS-DevTools/npm-publish@v1
env:
PUBLIC_ADDRESS: ${{ secrets.PUBLIC_ADDRESS }}
ETH_NODE_URL: ${{ secrets.ETH_NODE_URL }}
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
tag: dev