Skip to content

Commit

Permalink
- status doc add - read me remove from library
Browse files Browse the repository at this point in the history
  • Loading branch information
imashiksarkar committed Aug 8, 2023
1 parent 8b9967a commit 31e8b8e
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 240 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/Build_And_Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,20 @@ jobs:
with:
name: library

- name: Install Dependencies
run: npm ci

- name: Authenticate with npm
run: echo "//registry.npmjs.org/:_authToken={{ secrets.NPM_AUTH_TOKEN }}" >> ~/.npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" >> ~/.npmrc

- name: Inspect Library
run: ls -R

- name: Publish NPM package
run: npm run publish
continue-on-error: true # Continue even if this step fails

- uses: actions/upload-artifact@v3 # upload library artifact
with:
name: log
path: /home/runner/.npm/_logs/ # or path/to/artifact
71 changes: 0 additions & 71 deletions .github/workflows/Build_And_Publish_Test.yml

This file was deleted.

7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,10 @@ Err.setStatus("Ok")
where: "inside main function"
}
```

### Status

```typescript
console.log(Status.Ok)
// {value: "Ok", statusCode: 200}
```
6 changes: 6 additions & 0 deletions library/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# http-staror

## 1.0.4

### Patch Changes

- Status doc add

## 1.0.3

### Patch Changes
Expand Down
167 changes: 0 additions & 167 deletions library/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "http-staror",
"description": "Makes easy to use HTTP status and errors.",
"version": "1.0.3",
"version": "1.0.4",
"homepage": "https://github.com/imashiksarkar/http-staror#readme",
"repository": {
"type": "git",
Expand Down

0 comments on commit 31e8b8e

Please sign in to comment.