Skip to content

Update Publish.yml

Update Publish.yml #5

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- release-*
jobs:
publish:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Publish package on NPM 📦
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}