Skip to content

Merge branch 'main' of https://github.com/Jervis2049/vite-plugin-crx-mv3 #104

Merge branch 'main' of https://github.com/Jervis2049/vite-plugin-crx-mv3

Merge branch 'main' of https://github.com/Jervis2049/vite-plugin-crx-mv3 #104

Workflow file for this run

name: Npm Publish
on:
push:
branches:
- main
jobs:
release:
if: "contains(github.event.head_commit.message, 'release')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm i -g [email protected]
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}