Skip to content

Crx monkey auto npm publish #10

Crx monkey auto npm publish

Crx monkey auto npm publish #10

Workflow file for this run

name: Crx monkey auto npm publish
on:
release:
types: [published]
workflow_dispatch:
env:
FILE_PATTERN: 'packages/**/*.{ts,tsx,js,jsx}'
jobs:
publish:
name: Publish crx-monkey
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: |
bun install
bun install --cwd packages/crx-monkey
- name: Build crx-monkey
run: bun run build:crx
- name: Publish
run: |
cd packages/crx-monkey
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}