Skip to content

fix: stupid

fix: stupid #30

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-file: ".nvmrc"
- run: yarn
- run: yarn test
- run: yarn build
- run: yarn publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- 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"