Skip to content

Commit 9e3491e

Browse files
author
Tyschenko
committed
Add publish-release workflow
1 parent 6925354 commit 9e3491e

File tree

3 files changed

+69
-0
lines changed

3 files changed

+69
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Publish Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
7+
8+
jobs:
9+
publish-release:
10+
permissions:
11+
contents: write
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout and setup environment
15+
uses: MetaMask/action-checkout-and-setup@v1
16+
with:
17+
is-high-risk-environment: true
18+
- uses: MetaMask/action-publish-release@v3
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
- run: yarn build
22+
- name: Upload build artifacts
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: publish-release-artifacts-${{ github.sha }}
26+
include-hidden-files: true
27+
retention-days: 4
28+
path: |
29+
./packages/**/dist
30+
./node_modules/.yarn-state.yml
31+
32+
publish-npm-dry-run:
33+
name: Dry run publish to NPM
34+
runs-on: ubuntu-latest
35+
needs: publish-release
36+
37+
steps:
38+
- name: Checkout and setup environment
39+
uses: MetaMask/action-checkout-and-setup@v1
40+
with:
41+
is-high-risk-environment: true
42+
ref: ${{ github.sha }}
43+
44+
- name: Restore build artifacts
45+
uses: actions/download-artifact@v4
46+
with:
47+
name: publish-release-artifacts-${{ github.sha }}
48+
49+
- name: Dry run publish to NPM
50+
uses: MetaMask/action-npm-publish@v5

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Added
11+
12+
- Inject Javascript on iOS to detect all iFrames inside the current page and report them to the React app (https://github.com/MetaMask/react-native-webview-mm/pull/61)
13+
14+
## [14.2.2]
15+
16+
### Fixed
17+
18+
- On iOS on opening of some Dapps there is download file pop up (https://github.com/MetaMask/react-native-webview-mm/pull/63)

0 commit comments

Comments
 (0)