Skip to content

chore: move renovate default config #88

chore: move renovate default config

chore: move renovate default config #88

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]'
- name: Checkout πŸ›Ž
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v4
- name: Setup node env πŸ—
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
if: ${{ steps.release.outputs.release_created }}
run: yarn install --frozen-lockfile --silent
- name: Publish package πŸ“¦
if: ${{ steps.release.outputs.release_created }}
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Setup node env for Github πŸ—
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-node@v4
with:
registry-url: 'https://npm.pkg.github.com'
- name: Publish package πŸ“¦
if: ${{ steps.release.outputs.release_created }}
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}