Skip to content

Merge pull request #699 from curvefi/chore-upgrade-curve-js-to-2.66.6 #15

Merge pull request #699 from curvefi/chore-upgrade-curve-js-to-2.66.6

Merge pull request #699 from curvefi/chore-upgrade-curve-js-to-2.66.6 #15

Workflow file for this run

name: Prices API
description: Builds and publishes the Prices API package to NPM
on:
push:
tags:
- prices-api/[0-9]+.[0-9]+.[0-9]+
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: 'Setup yarn'
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: yarn
registry-url: 'https://registry.npmjs.org'
- name: 'Build and publish'
working-directory: packages/prices-api
run: |
yarn install --immutable
yarn npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}