puppeteer/.github/workflows/publish.yml

28 lines
657 B
YAML
Raw Normal View History

2022-05-30 09:47:15 +00:00
name: Publish
2022-05-18 16:06:58 +00:00
on:
workflow_dispatch:
push:
2022-05-30 09:47:15 +00:00
tags:
- v*
2022-05-18 16:06:58 +00:00
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Build packages
run: npm run build
- name: Publish packages
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_RELEASE}}
run: |
npm config set registry 'https://wombat-dressing-room.appspot.com/'
npm config set '//wombat-dressing-room.appspot.com/:_authToken' $NODE_AUTH_TOKEN
npm publish --workspaces