New version 4.0.3. Read more https://github.com/jodit/jodit-react/rel… #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Package to npmjs | |
on: | |
repository_dispatch: | |
types: [ release ] | |
push: | |
tags: ["*"] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 #Setup Node | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Lint | |
run: | | |
npm run lint | |
- name: Build | |
run: | | |
npm run build | |
- name: Publish | |
run: | | |
NPM_TOKEN=${{ secrets.NPM_TOKEN }} npm publish ./ --access public |