crowdriff-story-network-gallery-react
Version:
A Component that allows the embedding of a CrowdRiff Story Network gallery in a React app
27 lines (24 loc) • 516 B
YAML
name: Publish package
on:
push:
branches:
- publish
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '10.x'
registry-url: 'https://registry.npmjs.org'
- name: Install deps
run: npm install
env:
NODE_ENV: development
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}