Skip to content

Quick review of the README file #28

Quick review of the README file

Quick review of the README file #28

Workflow file for this run

name: Publish Release
on:
push:
branches:
- main
permissions:
contents: write
packages: write
pull-requests: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
cache: 'npm'
node-version: 20
registry-url: 'https://npm.pkg.github.com'
scope: '@octopusdeploy'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ steps.release.outputs.release_created }}