Skip to content

Release v1.0.0-beta: Initial beta release of Yonode #277 #16

Release v1.0.0-beta: Initial beta release of Yonode #277

Release v1.0.0-beta: Initial beta release of Yonode #277 #16

Workflow file for this run

name: Publish Yonode Package
on:
push:
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
publish:
# prevents this action from running on forks
if: github.repository == 'sharafdin/yonode'
name: Publish Yonode Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org/'
- name: Publish to npm
run: npm publish --access public
working-directory: packages/yonode
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}