Skip to content

fix: compatible with post request form data acquisition (#135) (#135) #65

fix: compatible with post request form data acquisition (#135) (#135)

fix: compatible with post request form data acquisition (#135) (#135) #65

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}}