diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml
index e87489c..dca86af 100644
--- a/.github/workflows/npm-publish.yml
+++ b/.github/workflows/npm-publish.yml
@@ -1,19 +1,19 @@
-name: Node.js Package
+name: Publish Package to npmjs
on:
release:
- types: [created]
+ types: [published]
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-node@v3
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: '20.x'
registry-url: https://registry.npmjs.org/
- - run: npm install
- - run: npm publish
+ - run: npm ci
+ - run: npm publish --provenance --access public
env:
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5140e65..4e76d05 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@
- FIX: `index.js` is the main package entry point
- Use default exports
-## v0.1.0 - 2024-07-26
+## v0.1.2 - 2024-07-26
Initial Features…
diff --git a/README.md b/README.md
index f139f74..050de47 100644
--- a/README.md
+++ b/README.md
@@ -80,7 +80,7 @@ Make sure you include the `
```
@@ -88,7 +88,7 @@ Make sure you include the `
```
diff --git a/package.json b/package.json
index 37cf056..58acb89 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@terriblemia/ground-control",
- "version": "0.1.0",
+ "version": "0.1.2",
"description": "A Web Component for…",
"main": "index.js",
"scripts": {