fix pyth-publish-js workflow (#1919) #127
Workflow file for this run
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: 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 exec lerna run build --no-private | |
- run: pnpm exec lerna publish from-package --no-private --no-git-tag-version --yes |