Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramazan Seyhan committed Dec 19, 2024
1 parent 859bab8 commit 9b7f979
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Node.js Package

on:
release:
types: [created]
push:
branches:
- main

jobs:
build:
Expand All @@ -24,6 +25,9 @@ jobs:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: echo "Node auth token:"
- run: echo ${{ secrets.NPM_TOKEN }}
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_DEBUG: request
NODE_AUTH_TOKEN: ${{ secrets.NPM TOKEN }}

0 comments on commit 9b7f979

Please sign in to comment.