Skip to content

Commit

Permalink
version up 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
akihiro2526 committed Aug 12, 2023
1 parent c2398e4 commit 22e4018
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish package to GitHub Packages
name: Publish package to NPM

on:
push:
Expand All @@ -14,17 +14,18 @@ jobs:

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/

- name: install
run: npm install
run: npm ci

- name: build
run: npm run build

- name: publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```html
<script type="module">
import { replaceErrorImage } from "https://cdn.jsdelivr.net/npm/replace-error-image@0.0.0/dist/index.js";
import { replaceErrorImage } from "https://cdn.jsdelivr.net/npm/replace-error-image@1.0.1/dist/index.js";
replaceErrorImage(".your-image-class", "https://your-image-url");
</script>
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "replace-error-image",
"version": "0.0.0",
"version": "1.0.1",
"description": "Replace broken links with specified images.",
"main": "dist/index.js",
"files": [
Expand Down

0 comments on commit 22e4018

Please sign in to comment.