Skip to content

Merge pull request #129 from wethegit/dependabot/npm_and_yarn/npm_and… #63

Merge pull request #129 from wethegit/dependabot/npm_and_yarn/npm_and…

Merge pull request #129 from wethegit/dependabot/npm_and_yarn/npm_and… #63

Workflow file for this run

name: Publish corgi cli
on:
push:
branches:
- main
paths:
- "cli/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Publish to NPM registry
# Setup .npmrc file on the fly
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
- run: npm publish --access public
working-directory: "./cli"
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}