Skip to content

chore(deps): update all non-major devdependencies #402

chore(deps): update all non-major devdependencies

chore(deps): update all non-major devdependencies #402

on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
packages: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
package-name: '@storipress/builder-component'
publish-github:
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: yarn
- name: publish package
run: |
yarn
yarn npm publish
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
publish-npm:
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: yarn
- name: publish package
run: |
yarn
yarn config unset npmScopes
yarn config unset npmRegistries
yarn config set npmAuthToken "${{ secrets.NPM_AUTH_TOKEN }}"
yarn npm publish --access public