From cb497af4ec2e8137444d167f695f7f62d4c52594 Mon Sep 17 00:00:00 2001 From: sricharankrishnan Date: Fri, 29 May 2026 12:08:48 +0530 Subject: [PATCH] [build] Updates - README.md updated with github actions detail - publish.yml now set to work on release - package.json: updated version number --- .github/workflows/publish.yml | 5 ++--- README.md | 6 ++++-- package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a071448..8d54aaf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,9 +3,8 @@ name: Publish Package # how this workflow will be triggered on: - push: - branches: - - "master" + release: + types: [published] permissions: contents: read diff --git a/README.md b/README.md index 906070c..b6276fc 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ ![NPM Unpacked Size](https://img.shields.io/npm/unpacked-size/tiny-ok-message) # tiny-ok-message + ⚗️ An intentionally small, fetch-based package that is useful for quick API-client experiments. Experimental Package: primarily used for learning purposes. ### 📦 Installation @@ -24,16 +25,17 @@ npm install tiny-ok-message 5. TypeScript ready with generated declaration files 6. ESM package output through `dist` 7. Unit tested with Jest and `ts-jest` +8. Github Actions are used for performing trusted publish ### 🔤 Example Usage ```ts /* node modules */ -import { getOkMessage } from 'tiny-ok-message'; +import { getOkMessage } from "tiny-ok-message"; /* example */ async function run() { - const response = await getOkMessage({ message: 'hello world' }); + const response = await getOkMessage({ message: "hello world" }); console.log(response); } await run(); diff --git a/package.json b/package.json index e3b2e0f..89b765f 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "utility" ], "license": "MIT", - "version": "0.9.0", + "version": "0.10.0", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts",