Skip to content

chore(main): release 1.4.1 (#22) #32

chore(main): release 1.4.1 (#22)

chore(main): release 1.4.1 (#22) #32

on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
name: Release
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- id: release
uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: zustand-computed
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v2
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm i -g yarn && yarn && yarn test && yarn build
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}