Skip to content

gce driver: fix running with default credentials #10

gce driver: fix running with default credentials

gce driver: fix running with default credentials #10

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:
- uses: actions/checkout@v3
- uses: crazy-max/ghaction-dump-context@v2
- 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