Skip to content

feat: configure GitHub Actions for NPM package release and update pac… #1

feat: configure GitHub Actions for NPM package release and update pac…

feat: configure GitHub Actions for NPM package release and update pac… #1

Workflow file for this run

name: Build and Publish
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
- name: Build
run: npm run build
- name: NPM Publish (@pezzo/llm-toolkit)
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}