Skip to content

Commit

Permalink
Bump version, and update publishing script
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed Jul 28, 2024
1 parent 84e0218 commit 7f94aa6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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…

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ Make sure you include the `<script>` in your project
<!-- 3rd party CDN, not recommended for production use -->
<script
type="module"
src="https://www.unpkg.com/@terriblemia/[email protected].0/index.js"
src="https://www.unpkg.com/@terriblemia/[email protected].2/index.js"
></script>
```

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 7f94aa6

Please sign in to comment.