Skip to content

Commit 7f94aa6

Browse files
committed
Bump version, and update publishing script
1 parent 84e0218 commit 7f94aa6

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/npm-publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
name: Node.js Package
1+
name: Publish Package to npmjs
22

33
on:
44
release:
5-
types: [created]
5+
types: [published]
66

77
jobs:
88
publish-npm:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 20
14+
node-version: '20.x'
1515
registry-url: https://registry.npmjs.org/
16-
- run: npm install
17-
- run: npm publish
16+
- run: npm ci
17+
- run: npm publish --provenance --access public
1818
env:
19-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
19+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- FIX: `index.js` is the main package entry point
66
- Use default exports
77

8-
## v0.1.0 - 2024-07-26
8+
## v0.1.2 - 2024-07-26
99

1010
Initial Features…
1111

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ Make sure you include the `<script>` in your project
8080
<!-- 3rd party CDN, not recommended for production use -->
8181
<script
8282
type="module"
83-
src="https://www.unpkg.com/@terriblemia/[email protected].0/index.js"
83+
src="https://www.unpkg.com/@terriblemia/[email protected].2/index.js"
8484
></script>
8585
```
8686

8787
```html
8888
<!-- 3rd party CDN, not recommended for production use -->
8989
<script
9090
type="module"
91-
src="https://esm.sh/@terriblemia/[email protected].0"
91+
src="https://esm.sh/@terriblemia/[email protected].2"
9292
></script>
9393
```
9494

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terriblemia/ground-control",
3-
"version": "0.1.0",
3+
"version": "0.1.2",
44
"description": "A Web Component for…",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)