Skip to content

chore(generation): 0.1.33 #36

chore(generation): 0.1.33

chore(generation): 0.1.33 #36

Workflow file for this run

name: Publication
on:
push:
tags:
- '*'
jobs:
publish:
name: Snapi Open API Spec
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Publish Package to Github
run: |
echo '//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}' > .npmrc
npm config set registry https://npm.pkg.github.com
npm publish
- name: Publish Package to NPM
run: |
echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' > .npmrc
npm config set registry https://registry.npmjs.org
npm publish --access public