make compose tunnel agent tunnel private #6
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 canary to NPM | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
publish-packages: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.head.repo.owner.name == 'livecycle' | |
steps: | |
- name: Dump GitHub context | |
run: echo '${{ toJSON(github) }}' | jq . | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
cache: yarn | |
- run: yarn | |
- name: npm publish | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: | | |
set -eou pipefail | |
set -x | |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc | |
yarn lerna publish --no-private -y --loglevel debug -c |