mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: workflow permissions
This commit is contained in:
3
.github/workflows/apps_automated_android.yml
vendored
3
.github/workflows/apps_automated_android.yml
vendored
@@ -1,4 +1,7 @@
|
||||
name: 'apps/automated/android'
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
7
.github/workflows/apps_automated_ios.yml
vendored
7
.github/workflows/apps_automated_ios.yml
vendored
@@ -1,4 +1,7 @@
|
||||
name: 'apps/automated/ios'
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -51,8 +54,8 @@ jobs:
|
||||
- name: Start iOS Simulator
|
||||
uses: futureware-tech/simulator-action@v4
|
||||
with:
|
||||
model: 'iPhone 15'
|
||||
os_version: '17.5'
|
||||
model: 'iPhone 16 Pro'
|
||||
os_version: '18.4'
|
||||
|
||||
- name: Run tests on iOS Simulator
|
||||
run: npx nx test apps-automated -c=ios
|
||||
|
||||
3
.github/workflows/npm_release_core.yml
vendored
3
.github/workflows/npm_release_core.yml
vendored
@@ -1,4 +1,7 @@
|
||||
name: '@nativescript/core -> npm'
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
3
.github/workflows/npm_release_tns_core.yml
vendored
3
.github/workflows/npm_release_tns_core.yml
vendored
@@ -1,4 +1,7 @@
|
||||
name: 'tns-core-modules -> npm'
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
3
.github/workflows/npm_release_types.yml
vendored
3
.github/workflows/npm_release_types.yml
vendored
@@ -1,5 +1,8 @@
|
||||
# TODO: modify to build android & ios types first and then merge into types
|
||||
name: '@nativescript/types -> npm'
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
3
.github/workflows/npm_release_webpack.yml
vendored
3
.github/workflows/npm_release_webpack.yml
vendored
@@ -1,4 +1,7 @@
|
||||
name: '@nativescript/webpack -> npm'
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
Reference in New Issue
Block a user