Skip to content

Commit

Permalink
fix: version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Stoffel committed Jul 18, 2024
1 parent 7784503 commit c08eaed
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@ name: npm-publish
on:
workflow_dispatch:
jobs:
npm-publish:
name: npm-publish
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Publish to npm monorepo
uses: wtrocki/npm-publish-action-monorepo@2.0.0
with:
workspace: "./" # Required
versionFrom: "./"
tag_name: "v%s"
tag_message: "v%s"
create_tag: "true"
commit_pattern: "^chore: Release (\\S+)"
publish_args: "--non-interactive --dry-run"
env: # More info about the environment variables in the README
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
working-directory: ./node-red-contrib-c8y-client
- run: npm publish --provenance --access public
working-directory: ./node-red-contrib-c8y-client
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion node-red-contrib-c8y-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-c8y-client",
"version": "1.0.0",
"version": "1.0.1",
"description": "c8y client for Node-RED",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit c08eaed

Please sign in to comment.