Skip to content

Commit

Permalink
Just trying to fix things....
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdullahBRashid committed Apr 1, 2024
1 parent 2b1e277 commit 15d0681
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 842 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Node.js Package

on:
release:
types: [created]
types: [created, edited]

jobs:
build:
Expand All @@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: npm i
- run: npm run build

publish-npm:
Expand All @@ -27,7 +27,7 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm i
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
.env
dist
*.txt
.secrets
.secrets
package-lock.json
.local
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
.env
*.txt
package-lock.json
.secrets
Loading

0 comments on commit 15d0681

Please sign in to comment.