mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-11 17:59:07 +08:00
Nick: fixed js sdk
This commit is contained in:
parent
44bf59229a
commit
39b61132bf
58
.github/workflows/publish-js-sdk.yml
vendored
58
.github/workflows/publish-js-sdk.yml
vendored
@ -1,32 +1,32 @@
|
||||
name: Publish JS SDK
|
||||
# name: Publish JS SDK
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- apps/js-sdk/firecrawl/package.json
|
||||
# on:
|
||||
# push:
|
||||
# branches:
|
||||
# - main
|
||||
# paths:
|
||||
# - apps/js-sdk/firecrawl/package.json
|
||||
|
||||
env:
|
||||
TEST_API_KEY: ${{ secrets.TEST_API_KEY }}
|
||||
# env:
|
||||
# TEST_API_KEY: ${{ secrets.TEST_API_KEY }}
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "20"
|
||||
- name: Authenticate
|
||||
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
|
||||
- name: Publish
|
||||
run: |
|
||||
npm publish
|
||||
sed -i 's/"name": "@mendable\/firecrawl-js"/"name": "@mendable\/firecrawl"/g' package.json
|
||||
npm publish
|
||||
sed -i 's/"name": "@mendable\/firecrawl"/"name": "firecrawl"/g' package.json
|
||||
npm publish
|
||||
working-directory: ./apps/js-sdk/firecrawl
|
||||
# jobs:
|
||||
# publish:
|
||||
# name: Publish
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
# - name: Set up Node.js
|
||||
# uses: actions/setup-node@v3
|
||||
# with:
|
||||
# node-version: "20"
|
||||
# - name: Authenticate
|
||||
# run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
|
||||
# - name: Publish
|
||||
# run: |
|
||||
# npm publish
|
||||
# sed -i 's/"name": "@mendable\/firecrawl-js"/"name": "@mendable\/firecrawl"/g' package.json
|
||||
# npm publish
|
||||
# sed -i 's/"name": "@mendable\/firecrawl"/"name": "firecrawl"/g' package.json
|
||||
# npm publish
|
||||
# working-directory: ./apps/js-sdk/firecrawl
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@mendable/firecrawl-js",
|
||||
"version": "1.18.4",
|
||||
"version": "1.18.5",
|
||||
"description": "JavaScript SDK for Firecrawl API",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
Loading…
x
Reference in New Issue
Block a user