Skip to content

fix: add esbuild to peerDeps for fix yarn pnp (#134) #64

fix: add esbuild to peerDeps for fix yarn pnp (#134)

fix: add esbuild to peerDeps for fix yarn pnp (#134) #64

Workflow file for this run

name: Npm Publish
on:
push:
branches:
- main
jobs:
publish-npm:
if: "contains(github.event.head_commit.message, 'release')"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: use Node.js 16
uses: actions/setup-node@v1
with:
registry-url: https://registry.npmjs.org/
node-version: 16
- name: pnpm install and publish
run: |
npm i -g pnpm
pnpm install
pnpm publish --filter=./packages/vite-plugin-mock
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}