Skip to content

Update Version and Publish to NPM #1

Update Version and Publish to NPM

Update Version and Publish to NPM #1

Workflow file for this run

name: Publish GitHub Package
on:
release:
types: [published]
jobs:
publish-github-package:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci
- name: Build package
run: npm run build
- name: Publish package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}