move CLI code into this repo

This commit is contained in:
2021-01-30 09:52:18 -05:00
parent a03f53154b
commit e59e5f23bb
10 changed files with 2356 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
name: 'CLI: Release'
on:
release:
types:
- published
jobs:
npm:
name: Publish to NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: |
yarn install --frozen-lockfile
yarn publish
working-directory: ./cli
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
gpr:
name: Publish to GitHub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://npm.pkg.github.com/
scope: '@jakejarvis'
- run: |
yarn install --frozen-lockfile
yarn publish
working-directory: ./cli
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}