Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.

add keychain and loginType #91

add keychain and loginType

add keychain and loginType #91

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
- app
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 20
- run: cd ./packages/core
- name: Create .env file
run: |
echo "VITE_HELIUS_API_KEY=${{ secrets.VITE_HELIUS_API_KEY }}" >> .env
- run: cd ../../
- run: yarn
- run: yarn build
- name: Authenticate with npm
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Publish @ecency/sdk
run: |
cd packages/core
npm publish --access public
- name: Publish @ecency/sdk-wallets
run: |
cd packages/wallets
npm publish --access public