Skip to content

Introduce CLI Starter Kit, create-yorkie-app (#643) #1

Introduce CLI Starter Kit, create-yorkie-app (#643)

Introduce CLI Starter Kit, create-yorkie-app (#643) #1

name: create-yorkie-app-publish
on:
workflow_dispatch:
push:
branches:
- main
paths:
- tools/create-yorkie-app/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Setup Node 🔧
uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: package-lock.json
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: cd tools/create-yorkie-app && npm run build
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}