Skip to content

v3.0.7

v3.0.7 #15

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Release & Publish
on:
release:
types: [released, prereleased]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: 'https://npm.pkg.github.com'
scope: '@scribelabsai'
- name: Install deps
run: npm install
- name: Build source
run: npm run build:lib && npm run build:bin
- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}