Skip to content

Commit 085db68

Browse files
committed
Added a publish workflow
1 parent 2673f54 commit 085db68

File tree

2 files changed

+86
-50
lines changed

2 files changed

+86
-50
lines changed

.github/workflows/publish.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: publish
2+
on:
3+
push:
4+
tags:
5+
- v*.*.*
6+
7+
jobs:
8+
npm-publish:
9+
name: npm-publish
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@master
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: '12'
18+
registry-url: 'https://registry.npmjs.org'
19+
- name: Install dependencies
20+
run: npm ci
21+
- name: Build library
22+
run: npm run build
23+
- name: Publish version
24+
run: npm publish
25+
env:
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
27+
- name: Create GitHub release
28+
id: create_release
29+
uses: actions/create-release@v1
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
with:
33+
tag_name: ${{ github.ref }}
34+
release_name: ${{ github.ref }}
35+
draft: true
36+
prerelease: false

README.md

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -128,55 +128,55 @@ Opens the specified option in android.
128128

129129
#### IOSSettings
130130

131-
| Members | Value | Description |
132-
| ------------------------ | ---------------------------------- | ------------------------------------------------------------------------------------------------- |
133-
| **`About`** | <code>'about'</code> | Settings &gt; General &gt; About |
134-
| **`Accessibility`** | <code>'accessibility'</code> | Settings &gt; General &gt; Accessibility |
135-
| **`Account`** | <code>'account'</code> | Settings &gt; Your name |
136-
| **`AirplaneMode`** | <code>'airplane_mode'</code> | Settings &gt; Airplane Mode |
137-
| **`ApplicationDetails`** | <code>'application_details'</code> | Settings |
138-
| **`AutoLock`** | <code>'autolock'</code> | Settings &gt; General &gt; Auto-Lock (before iOS 10) |
139-
| **`Battery`** | <code>'battery'</code> | Settings &gt; Battery |
140-
| **`Bluetooth`** | <code>'bluetooth'</code> | Settings &gt; General &gt; Bluetooth (&lt; iOS 9) &lt;br&gt; Settings &gt; Bluetooth (&gt; iOS 9) |
141-
| **`Browser`** | <code>'browser'</code> | Settings &gt; Safari |
142-
| **`Castle`** | <code>'castle'</code> | Settings &gt; iCloud |
143-
| **`Cellularusage`** | <code>'cellular_usage'</code> | Settings &gt; General &gt; Cellular Usage |
144-
| **`ConfigurationList`** | <code>'configuration_list'</code> | Settings &gt; General &gt; Profile |
145-
| **`Date`** | <code>'date'</code> | Settings &gt; General &gt; Date & Time |
146-
| **`Display`** | <code>'display'</code> | Settings &gt; Display & Brightness |
147-
| **`DoNotDisturb`** | <code>'do_not_disturb'</code> | Settings &gt; Do Not Disturb |
148-
| **`Facetime`** | <code>'facetime'</code> | Settings &gt; Facetime |
149-
| **`Keyboard`** | <code>'keyboard'</code> | Settings &gt; General &gt; Keyboard |
150-
| **`Keyboards`** | <code>'keyboards'</code> | Settings &gt; General &gt; Keyboard &gt; Keyboards |
151-
| **`Locale`** | <code>'locale'</code> | Settings &gt; General &gt; Language & Region |
152-
| **`Location`** | <code>'location'</code> | Settings &gt; Location Services (in older versions of iOS) |
153-
| **`Locations`** | <code>'locations'</code> | Settings &gt; Privacy &gt; Location Services (in newer versions of iOS) |
154-
| **`MobileData`** | <code>'mobile_data'</code> | Settings &gt; Mobile Data (after iOS 10) |
155-
| **`Music`** | <code>'music'</code> | Settings &gt; iTunes |
156-
| **`MusicEqualizer`** | <code>'music_equalizer'</code> | Settings &gt; Music &gt; EQ |
157-
| **`MusicVolume`** | <code>'music_volume'</code> | Settings &gt; Music &gt; Volume Limit |
158-
| **`Network`** | <code>'network'</code> | Settings &gt; General &gt; Network |
159-
| **`NikeIpod`** | <code>'nike_ipod'</code> | Settings &gt; Nike + iPod |
160-
| **`Notes`** | <code>'notes'</code> | Settings &gt; Notes |
161-
| **`Passbook`** | <code>'passbook'</code> | Settings &gt; Passbook & Apple Pay |
162-
| **`Phone`** | <code>'phone'</code> | Settings &gt; Phone |
163-
| **`Photos`** | <code>'photos'</code> | Settings &gt; Photo & Camera |
164-
| **`Privacy`** | <code>'privacy'</code> | Settings &gt; Privacy |
165-
| **`Reset`** | <code>'reset'</code> | Settings &gt; General &gt; Reset |
166-
| **`Ringtone`** | <code>'ringtone'</code> | Settings &gt; Sounds &gt; Ringtone |
167-
| **`Search`** | <code>'search'</code> | Settings &gt; General &gt; Assistant (&lt; iOS 10) Settings &gt; Siri (&gt; iOS 10) |
168-
| **`Settings`** | <code>'settings'</code> | Settings &gt; General |
169-
| **`Sound`** | <code>'sound'</code> | Settings &gt; Sounds |
170-
| **`SoftwareUpdate`** | <code>'software_update'</code> | Settings &gt; General &gt; Software Update |
171-
| **`Storage`** | <code>'storage'</code> | Settings &gt; iCloud &gt; Storage & Backup |
172-
| **`Store`** | <code>'store'</code> | Settings &gt; iTunes & App Store |
173-
| **`Tethering`** | <code>'tethering'</code> | Settings &gt; Personal Hotspot |
174-
| **`Touch`** | <code>'touch'</code> | Settings &gt; Touch ID & Passcode |
175-
| **`Twitter`** | <code>'twitter'</code> | Settings &gt; Twitter |
176-
| **`Usage`** | <code>'usage'</code> | Settings &gt; General &gt; Storage & iCloud Usage |
177-
| **`Video`** | <code>'video'</code> | Settings &gt; Video |
178-
| **`VPN`** | <code>'vpn'</code> | Settings &gt; General &gt; VPN |
179-
| **`Wallpaper`** | <code>'wallpaper'</code> | Settings &gt; Wallpaper |
180-
| **`Wifi`** | <code>'wifi'</code> | Settings &gt; WIFI |
131+
| Members | Value | Description |
132+
| ------------------------ | ---------------------------------- | -------------------------------------------------------------------------------------- |
133+
| **`About`** | <code>'about'</code> | Settings &gt; General &gt; About |
134+
| **`Accessibility`** | <code>'accessibility'</code> | Settings &gt; General &gt; Accessibility |
135+
| **`Account`** | <code>'account'</code> | Settings &gt; Your name |
136+
| **`AirplaneMode`** | <code>'airplane_mode'</code> | Settings &gt; Airplane Mode |
137+
| **`ApplicationDetails`** | <code>'application_details'</code> | Settings |
138+
| **`AutoLock`** | <code>'autolock'</code> | Settings &gt; General &gt; Auto-Lock (before iOS 10) |
139+
| **`Battery`** | <code>'battery'</code> | Settings &gt; Battery |
140+
| **`Bluetooth`** | <code>'bluetooth'</code> | Settings &gt; General &gt; Bluetooth (&lt; iOS 9) Settings &gt; Bluetooth (&gt; iOS 9) |
141+
| **`Browser`** | <code>'browser'</code> | Settings &gt; Safari |
142+
| **`Castle`** | <code>'castle'</code> | Settings &gt; iCloud |
143+
| **`Cellularusage`** | <code>'cellular_usage'</code> | Settings &gt; General &gt; Cellular Usage |
144+
| **`ConfigurationList`** | <code>'configuration_list'</code> | Settings &gt; General &gt; Profile |
145+
| **`Date`** | <code>'date'</code> | Settings &gt; General &gt; Date & Time |
146+
| **`Display`** | <code>'display'</code> | Settings &gt; Display & Brightness |
147+
| **`DoNotDisturb`** | <code>'do_not_disturb'</code> | Settings &gt; Do Not Disturb |
148+
| **`Facetime`** | <code>'facetime'</code> | Settings &gt; Facetime |
149+
| **`Keyboard`** | <code>'keyboard'</code> | Settings &gt; General &gt; Keyboard |
150+
| **`Keyboards`** | <code>'keyboards'</code> | Settings &gt; General &gt; Keyboard &gt; Keyboards |
151+
| **`Locale`** | <code>'locale'</code> | Settings &gt; General &gt; Language & Region |
152+
| **`Location`** | <code>'location'</code> | Settings &gt; Location Services (in older versions of iOS) |
153+
| **`Locations`** | <code>'locations'</code> | Settings &gt; Privacy &gt; Location Services (in newer versions of iOS) |
154+
| **`MobileData`** | <code>'mobile_data'</code> | Settings &gt; Mobile Data (after iOS 10) |
155+
| **`Music`** | <code>'music'</code> | Settings &gt; iTunes |
156+
| **`MusicEqualizer`** | <code>'music_equalizer'</code> | Settings &gt; Music &gt; EQ |
157+
| **`MusicVolume`** | <code>'music_volume'</code> | Settings &gt; Music &gt; Volume Limit |
158+
| **`Network`** | <code>'network'</code> | Settings &gt; General &gt; Network |
159+
| **`NikeIpod`** | <code>'nike_ipod'</code> | Settings &gt; Nike + iPod |
160+
| **`Notes`** | <code>'notes'</code> | Settings &gt; Notes |
161+
| **`Passbook`** | <code>'passbook'</code> | Settings &gt; Passbook & Apple Pay |
162+
| **`Phone`** | <code>'phone'</code> | Settings &gt; Phone |
163+
| **`Photos`** | <code>'photos'</code> | Settings &gt; Photo & Camera |
164+
| **`Privacy`** | <code>'privacy'</code> | Settings &gt; Privacy |
165+
| **`Reset`** | <code>'reset'</code> | Settings &gt; General &gt; Reset |
166+
| **`Ringtone`** | <code>'ringtone'</code> | Settings &gt; Sounds &gt; Ringtone |
167+
| **`Search`** | <code>'search'</code> | Settings &gt; General &gt; Assistant (&lt; iOS 10) Settings &gt; Siri (&gt; iOS 10) |
168+
| **`Settings`** | <code>'settings'</code> | Settings &gt; General |
169+
| **`Sound`** | <code>'sound'</code> | Settings &gt; Sounds |
170+
| **`SoftwareUpdate`** | <code>'software_update'</code> | Settings &gt; General &gt; Software Update |
171+
| **`Storage`** | <code>'storage'</code> | Settings &gt; iCloud &gt; Storage & Backup |
172+
| **`Store`** | <code>'store'</code> | Settings &gt; iTunes & App Store |
173+
| **`Tethering`** | <code>'tethering'</code> | Settings &gt; Personal Hotspot |
174+
| **`Touch`** | <code>'touch'</code> | Settings &gt; Touch ID & Passcode |
175+
| **`Twitter`** | <code>'twitter'</code> | Settings &gt; Twitter |
176+
| **`Usage`** | <code>'usage'</code> | Settings &gt; General &gt; Storage & iCloud Usage |
177+
| **`Video`** | <code>'video'</code> | Settings &gt; Video |
178+
| **`VPN`** | <code>'vpn'</code> | Settings &gt; General &gt; VPN |
179+
| **`Wallpaper`** | <code>'wallpaper'</code> | Settings &gt; Wallpaper |
180+
| **`Wifi`** | <code>'wifi'</code> | Settings &gt; WIFI |
181181

182182
</docgen-api>

0 commit comments

Comments
 (0)