Skip to content

Allow Vertex AI config via env vars #11

Allow Vertex AI config via env vars

Allow Vertex AI config via env vars #11

Workflow file for this run

name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
test-build-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
scope: '@ovotech'
- run: yarn
- run: yarn build
- run: yarn test
- run: yarn publish
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}