Skip to content

v3.0.0

v3.0.0 #62

Workflow file for this run

name: npm publish
on:
release:
types: [published]
workflow_dispatch:
jobs:
npm-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ vars.NODE_VERSION }}
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm run lint
- run: npm run test
- run: npm run build
- name: publish rx-nostr
run: npx -y can-npm-publish packages/core && npm publish -w packages/core
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
- name: publish @rx-nostr/crypto
run: npx -y can-npm-publish packages/crypto && npm publish -w packages/crypto
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}