Skip to content

Commit e076245

Browse files
author
Tyschenko
committed
Restore npm dry run step, fix CHANGELOG.md
1 parent 5aa9d1e commit e076245

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.github/workflows/publish-release.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,33 @@ jobs:
2727
./packages/**/dist
2828
./node_modules/.yarn-integrity
2929
30+
publish-npm-dry-run:
31+
needs: publish-release
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Checkout and setup environment
35+
uses: MetaMask/action-checkout-and-setup@v1
36+
with:
37+
is-high-risk-environment: true
38+
ref: ${{ github.sha }}
39+
- name: Restore build artifacts
40+
uses: actions/download-artifact@v4
41+
with:
42+
name: publish-release-artifacts-${{ github.sha }}
43+
- name: Dry Run Publish
44+
# omit npm-token token to perform dry run publish
45+
uses: MetaMask/action-npm-publish@v5
46+
with:
47+
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
48+
subteam: S04EF225J1M # @metamask-mobile-platform
49+
env:
50+
SKIP_PREPACK: true
51+
3052
publish-npm:
3153
name: Publish to NPM
3254
environment: npm-publish
3355
runs-on: ubuntu-latest
34-
needs: publish-release
56+
needs: publish-npm-dry-run
3557
steps:
3658
- name: Checkout and setup environment
3759
uses: MetaMask/action-checkout-and-setup@v1

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4242
- bump ws from 6.2.2 to 6.2.3 in the npm_and_yarn group across 1 directory (https://github.com/MetaMask/react-native-webview-mm/pull/35)
4343
- sync with upstream v13.13.5 (https://github.com/MetaMask/react-native-webview-mm/pull/47)
4444

45-
[Unreleased]: https://github.com/MetaMask/react-native-webview-mm/compare/@metamask/MetaMask:react-native-webview-mm:release/14.2.2...main
46-
[14.2.2]: https://github.com/MetaMask/react-native-webview-mm/compare/release/14.2.1...MetaMask:react-native-webview-mm:release/14.2.2
45+
[Unreleased]: https://github.com/MetaMask/react-native-webview-mm/compare/6925354...main
46+
[14.2.2]: https://github.com/MetaMask/react-native-webview-mm/compare/3be76c0...6925354
4747
[14.2.1]: https://github.com/MetaMask/react-native-webview-mm/compare/release/14.2.0...MetaMask:react-native-webview-mm:release/14.2.1
4848
[14.2.0]: https://github.com/MetaMask/react-native-webview-mm/compare/release/14.1.0...MetaMask:react-native-webview-mm:release/14.2.0
4949
[14.1.0]: https://github.com/MetaMask/react-native-webview-mm/compare/v14.0.4...v14.1.0

0 commit comments

Comments
 (0)