Changelog and readme.txt edits. #70
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: Npmjs auto-publisher | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check that the secret is set | |
env: | |
TOKEN: ${{ secrets.NPMJS_AUTOMATION_TOKEN }} | |
run: | | |
if [[ -z "$TOKEN" ]]; then | |
echo '::error::The secret NPMJS_AUTOMATION_TOKEN must be set.' | |
exit 1 | |
fi | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
# NPM version shouldn't matter, just use the LTS. | |
node-version: 'lts/*' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_AUTOMATION_TOKEN }} | |
run: npm publish --access public |