Skip to content

Change repository_dispatch to workflow_dispatch #124

Change repository_dispatch to workflow_dispatch

Change repository_dispatch to workflow_dispatch #124

Workflow file for this run

name: Publish on NPM
on:
push:
branches: [main]
workflow_dispatch:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
- name: Setup PNPM
uses: pnpm/[email protected]
with:
version: 6.32.11
- name: Install dependencies
run: pnpm i
- name: Run publish script
run: pnpm release