Skip to content

feat: publish ethereum wallets package #8

feat: publish ethereum wallets package

feat: publish ethereum wallets package #8

Workflow file for this run

name: on release
on: pull_request
jobs:
publish-github-registry:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ethereum-wallets
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
- name: Build
run: yarn build:ethereum-wallets
- name: Setup Npm Registry
run: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ./.npmrc
- name: Publish
run: npm publish dist/packages/ethereum-wallets