Skip to content

Publish to GitHub Packages #1

Publish to GitHub Packages

Publish to GitHub Packages #1

Workflow file for this run

name: Publish
on: [push]
jobs:
build:
name: Publish to GitHub Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read node version from .nvmrc
id: nvm
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
- name: "Setup Node v${{ steps.nvm.outputs.NVMRC }}"
uses: actions/setup-node@v2
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
cache: 'npm'
- name: Build
run: npm publish