Skip to content

chore: bump patch to 1.4.2 #25

chore: bump patch to 1.4.2

chore: bump patch to 1.4.2 #25

name: Release & publish on `package.json#version` bump
on:
push:
branches:
- main
jobs:
publish-on-release:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: yarn
- run: yarn test
- uses: Makepad-fr/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: "$newVersion"
body: "✨ New release $newVersion"
draft: "false"
pre-release: "auto"
generate-release-note: "true"
tag-name: "$newVersion"
- run: yarn build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}