Skip to content

Publish

Publish #6

Workflow file for this run

name: 'Publish'
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
publish-npm:
name: Publish NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Deps
run: npm i
- name: Build template
run: npm run build:ts
- name: Setup npm token
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish ts
run: |
cd generated/typescript
npm run release