File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ # Publishes @phantom/react-native-fast-image to public npm. The @phantom scope is
4+ # public on npmjs.org (the wallet's Artifactory registry proxies it), so this mirrors
5+ # the publish setup used by phantom/react-native-webview, just triggered by a release
6+ # rather than changesets since this fork is bumped infrequently.
7+ #
8+ # To cut a release: bump "version" in package.json on main, then publish a GitHub
9+ # Release tagged v<version> (e.g. v8.6.6). This workflow publishes that version.
10+
11+ on :
12+ release :
13+ types : [published]
14+ workflow_dispatch : {}
15+
16+ permissions :
17+ contents : read
18+
19+ jobs :
20+ publish :
21+ name : Publish to npm
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v4
25+
26+ - uses : actions/setup-node@v4
27+ with :
28+ node-version : 20.x
29+ registry-url : " https://registry.npmjs.org"
30+ scope : " @phantom"
31+
32+ - name : Install dependencies
33+ run : yarn install --frozen-lockfile
34+
35+ - name : Build
36+ run : yarn build
37+
38+ - name : Publish
39+ run : npm publish --access public
40+ env :
41+ NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN_PHANTOM_SECURITY_BOT }}
Original file line number Diff line number Diff line change 11{
22 "name" : " @phantom/react-native-fast-image" ,
3- "version" : " 8.6.5 " ,
3+ "version" : " 8.6.6 " ,
44 "description" : " 🚩 FastImage, performant React Native image component." ,
55 "keywords" : [
66 " cache" ,
You can’t perform that action at this time.
0 commit comments