Skip to content

chore(main): release 1.6.0 (#105) #27

chore(main): release 1.6.0 (#105)

chore(main): release 1.6.0 (#105) #27

on:
push:
branches:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: cypress-vite
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: pnpm/action-setup@v4
with:
run_install: false
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: 22.x
if: ${{ steps.release.outputs.release_created }}
- name: Set pnpm publishing config
run:
pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
- name: Install dependencies and build
run: pnpm i && pnpm build
if: ${{ steps.release.outputs.release_created }}
- name: Publish to npm
run: pnpm publish
if: ${{ steps.release.outputs.release_created }}