Skip to content

Commit

Permalink
Added a publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelWoude committed Mar 17, 2021
1 parent 2673f54 commit 085db68
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 50 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: publish
on:
push:
tags:
- v*.*.*

jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: '12'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build library
run: npm run build
- name: Publish version
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Create GitHub release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: true
prerelease: false
100 changes: 50 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,55 +128,55 @@ Opens the specified option in android.

#### IOSSettings

| Members | Value | Description |
| ------------------------ | ---------------------------------- | ------------------------------------------------------------------------------------------------- |
| **`About`** | <code>'about'</code> | Settings &gt; General &gt; About |
| **`Accessibility`** | <code>'accessibility'</code> | Settings &gt; General &gt; Accessibility |
| **`Account`** | <code>'account'</code> | Settings &gt; Your name |
| **`AirplaneMode`** | <code>'airplane_mode'</code> | Settings &gt; Airplane Mode |
| **`ApplicationDetails`** | <code>'application_details'</code> | Settings |
| **`AutoLock`** | <code>'autolock'</code> | Settings &gt; General &gt; Auto-Lock (before iOS 10) |
| **`Battery`** | <code>'battery'</code> | Settings &gt; Battery |
| **`Bluetooth`** | <code>'bluetooth'</code> | Settings &gt; General &gt; Bluetooth (&lt; iOS 9) &lt;br&gt; Settings &gt; Bluetooth (&gt; iOS 9) |
| **`Browser`** | <code>'browser'</code> | Settings &gt; Safari |
| **`Castle`** | <code>'castle'</code> | Settings &gt; iCloud |
| **`Cellularusage`** | <code>'cellular_usage'</code> | Settings &gt; General &gt; Cellular Usage |
| **`ConfigurationList`** | <code>'configuration_list'</code> | Settings &gt; General &gt; Profile |
| **`Date`** | <code>'date'</code> | Settings &gt; General &gt; Date & Time |
| **`Display`** | <code>'display'</code> | Settings &gt; Display & Brightness |
| **`DoNotDisturb`** | <code>'do_not_disturb'</code> | Settings &gt; Do Not Disturb |
| **`Facetime`** | <code>'facetime'</code> | Settings &gt; Facetime |
| **`Keyboard`** | <code>'keyboard'</code> | Settings &gt; General &gt; Keyboard |
| **`Keyboards`** | <code>'keyboards'</code> | Settings &gt; General &gt; Keyboard &gt; Keyboards |
| **`Locale`** | <code>'locale'</code> | Settings &gt; General &gt; Language & Region |
| **`Location`** | <code>'location'</code> | Settings &gt; Location Services (in older versions of iOS) |
| **`Locations`** | <code>'locations'</code> | Settings &gt; Privacy &gt; Location Services (in newer versions of iOS) |
| **`MobileData`** | <code>'mobile_data'</code> | Settings &gt; Mobile Data (after iOS 10) |
| **`Music`** | <code>'music'</code> | Settings &gt; iTunes |
| **`MusicEqualizer`** | <code>'music_equalizer'</code> | Settings &gt; Music &gt; EQ |
| **`MusicVolume`** | <code>'music_volume'</code> | Settings &gt; Music &gt; Volume Limit |
| **`Network`** | <code>'network'</code> | Settings &gt; General &gt; Network |
| **`NikeIpod`** | <code>'nike_ipod'</code> | Settings &gt; Nike + iPod |
| **`Notes`** | <code>'notes'</code> | Settings &gt; Notes |
| **`Passbook`** | <code>'passbook'</code> | Settings &gt; Passbook & Apple Pay |
| **`Phone`** | <code>'phone'</code> | Settings &gt; Phone |
| **`Photos`** | <code>'photos'</code> | Settings &gt; Photo & Camera |
| **`Privacy`** | <code>'privacy'</code> | Settings &gt; Privacy |
| **`Reset`** | <code>'reset'</code> | Settings &gt; General &gt; Reset |
| **`Ringtone`** | <code>'ringtone'</code> | Settings &gt; Sounds &gt; Ringtone |
| **`Search`** | <code>'search'</code> | Settings &gt; General &gt; Assistant (&lt; iOS 10) Settings &gt; Siri (&gt; iOS 10) |
| **`Settings`** | <code>'settings'</code> | Settings &gt; General |
| **`Sound`** | <code>'sound'</code> | Settings &gt; Sounds |
| **`SoftwareUpdate`** | <code>'software_update'</code> | Settings &gt; General &gt; Software Update |
| **`Storage`** | <code>'storage'</code> | Settings &gt; iCloud &gt; Storage & Backup |
| **`Store`** | <code>'store'</code> | Settings &gt; iTunes & App Store |
| **`Tethering`** | <code>'tethering'</code> | Settings &gt; Personal Hotspot |
| **`Touch`** | <code>'touch'</code> | Settings &gt; Touch ID & Passcode |
| **`Twitter`** | <code>'twitter'</code> | Settings &gt; Twitter |
| **`Usage`** | <code>'usage'</code> | Settings &gt; General &gt; Storage & iCloud Usage |
| **`Video`** | <code>'video'</code> | Settings &gt; Video |
| **`VPN`** | <code>'vpn'</code> | Settings &gt; General &gt; VPN |
| **`Wallpaper`** | <code>'wallpaper'</code> | Settings &gt; Wallpaper |
| **`Wifi`** | <code>'wifi'</code> | Settings &gt; WIFI |
| Members | Value | Description |
| ------------------------ | ---------------------------------- | -------------------------------------------------------------------------------------- |
| **`About`** | <code>'about'</code> | Settings &gt; General &gt; About |
| **`Accessibility`** | <code>'accessibility'</code> | Settings &gt; General &gt; Accessibility |
| **`Account`** | <code>'account'</code> | Settings &gt; Your name |
| **`AirplaneMode`** | <code>'airplane_mode'</code> | Settings &gt; Airplane Mode |
| **`ApplicationDetails`** | <code>'application_details'</code> | Settings |
| **`AutoLock`** | <code>'autolock'</code> | Settings &gt; General &gt; Auto-Lock (before iOS 10) |
| **`Battery`** | <code>'battery'</code> | Settings &gt; Battery |
| **`Bluetooth`** | <code>'bluetooth'</code> | Settings &gt; General &gt; Bluetooth (&lt; iOS 9) Settings &gt; Bluetooth (&gt; iOS 9) |
| **`Browser`** | <code>'browser'</code> | Settings &gt; Safari |
| **`Castle`** | <code>'castle'</code> | Settings &gt; iCloud |
| **`Cellularusage`** | <code>'cellular_usage'</code> | Settings &gt; General &gt; Cellular Usage |
| **`ConfigurationList`** | <code>'configuration_list'</code> | Settings &gt; General &gt; Profile |
| **`Date`** | <code>'date'</code> | Settings &gt; General &gt; Date & Time |
| **`Display`** | <code>'display'</code> | Settings &gt; Display & Brightness |
| **`DoNotDisturb`** | <code>'do_not_disturb'</code> | Settings &gt; Do Not Disturb |
| **`Facetime`** | <code>'facetime'</code> | Settings &gt; Facetime |
| **`Keyboard`** | <code>'keyboard'</code> | Settings &gt; General &gt; Keyboard |
| **`Keyboards`** | <code>'keyboards'</code> | Settings &gt; General &gt; Keyboard &gt; Keyboards |
| **`Locale`** | <code>'locale'</code> | Settings &gt; General &gt; Language & Region |
| **`Location`** | <code>'location'</code> | Settings &gt; Location Services (in older versions of iOS) |
| **`Locations`** | <code>'locations'</code> | Settings &gt; Privacy &gt; Location Services (in newer versions of iOS) |
| **`MobileData`** | <code>'mobile_data'</code> | Settings &gt; Mobile Data (after iOS 10) |
| **`Music`** | <code>'music'</code> | Settings &gt; iTunes |
| **`MusicEqualizer`** | <code>'music_equalizer'</code> | Settings &gt; Music &gt; EQ |
| **`MusicVolume`** | <code>'music_volume'</code> | Settings &gt; Music &gt; Volume Limit |
| **`Network`** | <code>'network'</code> | Settings &gt; General &gt; Network |
| **`NikeIpod`** | <code>'nike_ipod'</code> | Settings &gt; Nike + iPod |
| **`Notes`** | <code>'notes'</code> | Settings &gt; Notes |
| **`Passbook`** | <code>'passbook'</code> | Settings &gt; Passbook & Apple Pay |
| **`Phone`** | <code>'phone'</code> | Settings &gt; Phone |
| **`Photos`** | <code>'photos'</code> | Settings &gt; Photo & Camera |
| **`Privacy`** | <code>'privacy'</code> | Settings &gt; Privacy |
| **`Reset`** | <code>'reset'</code> | Settings &gt; General &gt; Reset |
| **`Ringtone`** | <code>'ringtone'</code> | Settings &gt; Sounds &gt; Ringtone |
| **`Search`** | <code>'search'</code> | Settings &gt; General &gt; Assistant (&lt; iOS 10) Settings &gt; Siri (&gt; iOS 10) |
| **`Settings`** | <code>'settings'</code> | Settings &gt; General |
| **`Sound`** | <code>'sound'</code> | Settings &gt; Sounds |
| **`SoftwareUpdate`** | <code>'software_update'</code> | Settings &gt; General &gt; Software Update |
| **`Storage`** | <code>'storage'</code> | Settings &gt; iCloud &gt; Storage & Backup |
| **`Store`** | <code>'store'</code> | Settings &gt; iTunes & App Store |
| **`Tethering`** | <code>'tethering'</code> | Settings &gt; Personal Hotspot |
| **`Touch`** | <code>'touch'</code> | Settings &gt; Touch ID & Passcode |
| **`Twitter`** | <code>'twitter'</code> | Settings &gt; Twitter |
| **`Usage`** | <code>'usage'</code> | Settings &gt; General &gt; Storage & iCloud Usage |
| **`Video`** | <code>'video'</code> | Settings &gt; Video |
| **`VPN`** | <code>'vpn'</code> | Settings &gt; General &gt; VPN |
| **`Wallpaper`** | <code>'wallpaper'</code> | Settings &gt; Wallpaper |
| **`Wifi`** | <code>'wifi'</code> | Settings &gt; WIFI |

</docgen-api>

0 comments on commit 085db68

Please sign in to comment.