From 6a054dfecc7d6e072a51e2030cf6a33a633ab80c Mon Sep 17 00:00:00 2001 From: Ethan Ozelius Date: Thu, 13 Nov 2025 13:28:26 -0700 Subject: [PATCH] fix(ci): release github action needs correct github token permissions --- .github/workflows/release.yaml | 7 ++++++- package.json | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0b13c13a4..459e5c231 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -62,7 +62,12 @@ jobs: dist key: build-cache-${{ github.run_id }}-${{ github.run_attempt }} + - name: Setup Chrome + uses: browser-actions/setup-chrome@v2 + with: + install-chromedriver: true + - name: Run semantic release run: npm run semantic-release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ steps.vault.outputs.GITHUB_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 3070d047b..e559f9e1b 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "type": "module", "exports": { ".": { + "types": "./dist/types/index.d.ts", "import": "./dist/esm/index.js", - "require": "./dist/contentful.cjs", - "types": "./dist/types/index.d.ts" + "require": "./dist/contentful.cjs" } }, "main": "./dist/esm/index.js",