generated from mirisuzanne/web-component-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version, and update publishing script
- Loading branch information
1 parent
84e0218
commit 7f94aa6
Showing
4 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters