Skip to content

Commit

Permalink
Add npm publish workflow for psp client
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenmcd committed Oct 20, 2021
1 parent 1d5a243 commit eb4bb68
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: publish

on:
release:
types: [created]

jobs:
publish-npm:
name: publish to npm
runs-on: ubuntu-latest
steps:

- name: configure wombat dressing repository
uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: https://wombat-dressing-room.appspot.com
scope: '@google-pay'

- name: publish @google-pay/psp-client to npm (via wombat dressing)
run: cd google-pay-psp-client && npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.TOKEN_PSP_CLIENT}}

0 comments on commit eb4bb68

Please # to comment.