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",