Skip to content

Merge pull request #2286 from pyth-network/cprussin/fix-hermes-client #162

Merge pull request #2286 from pyth-network/cprussin/fix-hermes-client

Merge pull request #2286 from pyth-network/cprussin/fix-hermes-client #162

Workflow file for this run

name: Publish Pyth JS packages
on:
push:
tags:
- pyth-js-v*
jobs:
publish-js:
name: Publish Javascript Packages to NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version-file: "package.json"
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: true
- name: Set publishing config
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: pnpm build:ci
- run: pnpm run publish