From adbbf667cfe897e5b655b0ff7b2cdbe306b95431 Mon Sep 17 00:00:00 2001 From: praveen-mohan-cs Date: Tue, 27 Aug 2024 12:06:55 +0530 Subject: [PATCH] Updated the workflow configuration --- .github/workflows/npm-publish-github-packages.yml | 2 +- .github/workflows/npm-publish.yml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index f113f9e..eed9d39 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -40,6 +40,6 @@ jobs: node-version: 18 registry-url: https://npm.pkg.github.com/ - run: npm ci - - run: npm publish + - run: npm publish --tag latest env: NODE_AUTH_TOKEN: ${{secrets.PKG_TOKEN}} diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a2af812..509f154 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -37,6 +37,6 @@ jobs: node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm ci - - run: npm publish + - run: npm publish --tag latest --access public env: NODE_AUTH_TOKEN: ${{secrets.TYPES_GENERATOR_AUTOMATION}} diff --git a/package.json b/package.json index a686ce2..f30d9a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/types-generator", - "version": "1.0.1", + "version": "1.0.2", "description": "Contentstack type definition generation library", "private": false, "author": "Contentstack",