Skip to content

Commit 8bf9850

Browse files
authored
chore(CI): disable dry-run enforcement for nightly workflow (#3903)
I've tested - it works and successfully publishes a nightly version of the lib. I enable it by default now. At the same time I remove the previous workflow.
1 parent b5bc859 commit 8bf9850

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish release to npm
22
on:
33
schedule:
4-
- cron: '27 23 * * *' # at 23:27 every day
4+
- cron: "27 23 * * *" # at 23:27 every day
55
workflow_dispatch:
66
inputs:
77
release-type:
@@ -20,7 +20,7 @@ on:
2020
from npm latest tag.
2121
type: string
2222
required: false
23-
default: ''
23+
default: ""
2424
dry-run:
2525
description: Whether to perform a dry run of the publish.
2626
type: boolean
@@ -51,16 +51,16 @@ jobs:
5151
uses: actions/setup-node@v6
5252
with:
5353
node-version: 24
54-
cache: 'yarn'
54+
cache: "yarn"
5555
registry-url: https://registry.npmjs.org/
5656

5757
- name: Publish manual release
5858
if: ${{ github.event_name == 'workflow_dispatch' }}
5959
uses: software-mansion/npm-package-publish@264013301cc21350186b190f1f6dd10ae4c8ee04
6060
with:
61-
package-name: 'react-native-screens'
62-
package-json-path: 'package.json'
63-
install-dependencies-command: 'yarn install --immutable'
61+
package-name: "react-native-screens"
62+
package-json-path: "package.json"
63+
install-dependencies-command: "yarn install --immutable"
6464
release-type: ${{ inputs.release-type }}
6565
version: ${{ inputs.version }}
6666
dry-run: ${{ inputs.dry-run }}
@@ -69,8 +69,8 @@ jobs:
6969
if: ${{ github.event_name == 'schedule' }}
7070
uses: software-mansion/npm-package-publish@264013301cc21350186b190f1f6dd10ae4c8ee04
7171
with:
72-
package-name: 'react-native-screens'
73-
package-json-path: 'package.json'
74-
install-dependencies-command: 'yarn install --immutable'
75-
release-type: 'nightly'
76-
dry-run: true
72+
package-name: "react-native-screens"
73+
package-json-path: "package.json"
74+
install-dependencies-command: "yarn install --immutable"
75+
release-type: "nightly"
76+
dry-run: false

0 commit comments

Comments
 (0)