Skip to content

Publish

Publish #67

Workflow file for this run

name: Publish
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
- run: yarn install --frozen-lockfile
- name: Authenticate with Registry
run: |
echo "@coopdigital:registry=https://registry.npmjs.org/" > .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN_EXPLIB" >> .npmrc
env:
NPM_TOKEN_EXPLIB: ${{ secrets.NPM_TOKEN_EXPLIB }}
- run: yarn run publish