Skip to content

Commit

Permalink
update publishing script
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-balfe committed Jul 6, 2024
1 parent 3dd6719 commit 364ec12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '20.12.2'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brave-search",
"version": "0.5.0",
"version": "0.5.1",
"description": "A TypeScript library for interacting with the Brave Search API, including web search, local POI search, and automatic summarization features.",
"scripts": {
"build": "tsc",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"target": "es2018",
"module": "commonjs",
"declaration": true,
"moduleResolution": "node",
"outDir": "./dist",
"strict": true,
"esModuleInterop": true
Expand Down

0 comments on commit 364ec12

Please sign in to comment.