-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/npm_and_yarn/vite-4.0.5
- Loading branch information
Showing
8 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@saleor/app-sdk": minor | ||
--- | ||
|
||
Changed the "query" field in the AppManifest webhook to be required. Previously, this field was optional. | ||
|
||
For subscription events, Saleor rejects webhooks without query, so this field was valid only with legacy non-subscription webhooks. | ||
|
||
Now, the query is obligatory. | ||
|
||
Warning: This can be a breaking change for some scenarios where legacy webhooks were used! |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ jobs: | |
run: pnpm test:ci | ||
- name: Generate coverage report | ||
uses: irongut/[email protected] | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
with: | ||
filename: coverage/cobertura-coverage.xml | ||
format: markdown | ||
|
@@ -68,19 +69,24 @@ jobs: | |
- name: Build project | ||
run: pnpm build | ||
- name: Creating .npmrc | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
run: | | ||
cat << EOF > "$HOME/.npmrc" | ||
//registry.npmjs.org/:_authToken=$NPM_TOKEN | ||
EOF | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: Release on @dev tag in npm | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
run: npx changeset version --snapshot pr && pnpm publish --tag dev --no-git-checks | ||
# Store package.json version in env | ||
- run: echo "PACKAGE_JSON=$(jq -c . < package.json)" >> $GITHUB_ENV | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
- run: echo '${{ fromJson(env.PACKAGE_JSON).version }}' | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
# Post a comment with released snapshot | ||
- name: Create with released tag | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
uses: peter-evans/create-or-update-comment@v2 | ||
with: | ||
issue-number: ${{ github.event.pull_request.number }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters