Skip to content

Publish dictionary to NPM #75

Publish dictionary to NPM

Publish dictionary to NPM #75

Workflow file for this run

name: Publish to NPM
run-name: Publish ${{ github.event.inputs.component }} to NPM
on:
workflow_dispatch:
inputs:
component:
description: 'Plugin'
required: true
permissions:
id-token: write
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: |
npm i -g npm@11.10.0
npm i
cd packages/tinker-${{ github.event.inputs.component }}
npm run build
npm publish