Skip to content

chore(release): v4.1.1 #54

chore(release): v4.1.1

chore(release): v4.1.1 #54

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
if: github.repository == 'prazdevs/pinia-plugin-persistedstate'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup node
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
node-version: lts/*
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Prepare playground
run: pnpm dev:prepare
- name: Build
run: pnpm build
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}