Skip to content

Commit d28c305

Browse files
Merge pull request #21 from contentstack/action-env-fix
Updated the workflow configuration
2 parents 5a2cce0 + 48a1d3c commit d28c305

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/npm-publish-github-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ jobs:
4040
node-version: 18
4141
registry-url: https://npm.pkg.github.com/
4242
- run: npm ci
43-
- run: npm publish
43+
- run: npm publish --tag latest
4444
env:
4545
NODE_AUTH_TOKEN: ${{secrets.PKG_TOKEN}}

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ jobs:
3737
node-version: 18
3838
registry-url: https://registry.npmjs.org/
3939
- run: npm ci
40-
- run: npm publish
40+
- run: npm publish --tag latest --access public
4141
env:
4242
NODE_AUTH_TOKEN: ${{secrets.TYPES_GENERATOR_AUTOMATION}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/types-generator",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Contentstack type definition generation library",
55
"private": false,
66
"author": "Contentstack",

0 commit comments

Comments
 (0)