Skip to content

v3.2.0-rc.2

v3.2.0-rc.2 #106

Workflow file for this run

name: Publishing
on:
release:
types: [published]
jobs:
publish:
if: ${{ !github.event.release.draft }}
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.release.target_commitish }}
- run: git fetch --force --tags
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: npm install
- run: npm run publish-please-only
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}