Skip to content

feat(deps): bump the all group with 4 updates (#32) #65

feat(deps): bump the all group with 4 updates (#32)

feat(deps): bump the all group with 4 updates (#32) #65

Workflow file for this run

name: publish
on:
workflow_dispatch: {}
push:
branches:
- main
paths:
- 'package.json'
- 'yarn.lock'
- 'eslint-rules-base.js'
- '.eslintrc'
- '.eslintrc.js'
- '.eslintrc.react.js'
- '.prettierrc.js'
- 'tsconfig.json'
- '.github/workflows/publish.yml'
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
release:
outputs:
release_created: ${{ steps.release.outputs.release_created }}
version: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: '@nihalgonsalves/esconfig'
bump-minor-pre-major: true
bump-patch-for-minor-pre-major: true
publish:
if: ${{ needs.release.outputs.release_created }}
needs: [release]
runs-on: ubuntu-latest
environment:
name: NPM
url: https://www.npmjs.com/package/@nihalgonsalves/esconfig/v/${{ needs.release.outputs.version }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# yarn doesn't have an equivalent --provenance
run: npm publish --provenance --access public