A fast, helpful, and open-source document parser
use npm trusted publishing
Logan Markewichb754dc3ddc46
diff --git a/.github/workflows/release-node.yml b/.github/workflows/release-node.ymlindex 3ee5957..a4670e7 100644--- a/.github/workflows/release-node.yml+++ b/.github/workflows/release-node.yml@@ -327,9 +327,13 @@ jobs:- uses: actions/setup-node@v4with:- node-version: 20+ node-version: 24registry-url: https://registry.npmjs.org+ # npm trusted publishing (OIDC) requires npm >= 11.5.1+ - name: Update npm+ run: npm install -g npm@latest+- name: Install dependenciesworking-directory: packages/noderun: npm install --ignore-scripts@@ -423,7 +427,6 @@ jobs:if: ${{ !inputs.dry-run }}working-directory: packages/nodeenv:- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}NPM_TAG: ${{ inputs.beta && 'beta' || 'latest' }}run: |for dir in npm/*/; do@@ -439,7 +442,6 @@ jobs:if: ${{ !inputs.dry-run }}working-directory: packages/nodeenv:- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}NPM_TAG: ${{ inputs.beta && 'beta' || 'latest' }}run: npm publish --access public --provenance --tag "$NPM_TAG"diff --git a/.github/workflows/release-wasm.yml b/.github/workflows/release-wasm.ymlindex de0cc66..d5c0944 100644--- a/.github/workflows/release-wasm.yml+++ b/.github/workflows/release-wasm.yml@@ -92,9 +92,13 @@ jobs:- uses: actions/setup-node@v4with:- node-version: 20+ node-version: 24registry-url: https://registry.npmjs.org+ # npm trusted publishing (OIDC) requires npm >= 11.5.1+ - name: Update npm+ run: npm install -g npm@latest+- name: Download WASM artifactsuses: actions/download-artifact@v4with:@@ -105,7 +109,6 @@ jobs:if: ${{ !inputs.dry-run }}working-directory: packages/wasmenv:- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}NPM_TAG: ${{ inputs.beta && 'beta' || 'latest' }}run: npm publish --access public --provenance --tag "$NPM_TAG" --ignore-scripts