Skip to content

docs: updated generate:readme command to use multi files per topic (#… #279

docs: updated generate:readme command to use multi files per topic (#…

docs: updated generate:readme command to use multi files per topic (#… #279

name: Public Release to npmjs.com
on:
push:
branches:
- main
- beta
jobs:
release:
runs-on: ubuntu-latest
environment:
name: publishEnv
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
scope: '@affinidi'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run release
run: npx semantic-release@21
env:
NODE_AUTH_TOKEN: ${{ secrets.PUBLIC_NPM_NODE_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}