Merge pull request #699 from curvefi/chore-upgrade-curve-js-to-2.66.6 #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |