Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ jobs:
dist
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}

- name: Setup Chrome
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this back in because of course we have to run npm run build 47 times before we do anything, with runs npm run postbuild, which runs integration tests 🥇

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 }}
GITHUB_TOKEN: ${{ steps.vault.outputs.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"type": "module",
"exports": {
".": {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just changed the order here, to fix this warning:

The condition "types" here will never be used as it comes after both "import" and "require"

"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",
Expand Down
Loading