Skip to content

Publish Clinch Core to NPM #5

Publish Clinch Core to NPM

Publish Clinch Core to NPM #5

Workflow file for this run

name: Publish Clinch Core to NPM
on:
workflow_dispatch: # Allows you to trigger this manually from the GitHub UI
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install Dependencies
# Ubuntu has all C++ compilers, so node-llama-cpp will install perfectly here
run: npm install
#- name: Build TypeScript
# run: npm run build
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}