Skip to content

docs: update setup commands #11

docs: update setup commands

docs: update setup commands #11

Workflow file for this run

name: Publish Plugin
on:
push:
branches:
- main
permissions:
contents: write
jobs:
publish:
name: Publish to npm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- run: pnpm install
- run: pnpm build --filter strapi-plugin-rich-text
- run: pnpm -r run release
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}