Skip to content

oplangchain info

oplangchain info #40

name: npmClientPublish
on:
push:
branches:
- main
jobs:
publish:
name: Publish to npm
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['18.x']
os: [ubuntu-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: npm-client/openpluginclient
- name: Publish
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: npm-client/openpluginclient