Skip to content

feat: allow read-only operations with wallet addr (#284) #163

feat: allow read-only operations with wallet addr (#284)

feat: allow read-only operations with wallet addr (#284) #163

name: release-please
on:
push:
branches:
- master
permissions:
id-token: write # Required for OIDC
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
# The following steps only run if a release is created
- name: Checkout
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v6
- name: Setup Node.js
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-node@v6
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'
# Ensure npm 11.5.1 or later is installed
- name: Update npm
if: ${{ steps.release.outputs.release_created }}
run: npm install -g npm@latest
- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
run: npm install
- name: Build
if: ${{ steps.release.outputs.release_created }}
run: npm run build
- name: Publish to npm
if: ${{ steps.release.outputs.release_created }}
run: npm publish --access public