Skip to content

feat(API): add text content API (#174) #54

feat(API): add text content API (#174)

feat(API): add text content API (#174) #54

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Release
env:
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Npm Install
run: npm install
- name: Build dist
run: npm run build
- name: Build CLI
run: npm run build:cli
- name: Release to NPM
env:
DEBUG: semantic-release:*
run: npx [email protected] --branches main
#