Skip to content

Added Chromantic Deploy Job #11

Added Chromantic Deploy Job

Added Chromantic Deploy Job #11

name: Publish Package to Github Package
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '14.x'
registry-url: 'https://npm.pkg.github.com'
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}