Skip to content

Commit f6041b1

Browse files
authored
chore: migrate to shared npm-package-publish action (#154)
1 parent 8e890cf commit f6041b1

10 files changed

Lines changed: 15 additions & 527 deletions

File tree

.github/actions/publish-npm-package/action.yml

Lines changed: 0 additions & 150 deletions
This file was deleted.

.github/workflows/publish-release.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,30 @@ jobs:
4242
- name: Check out
4343
uses: actions/checkout@v4
4444

45+
- name: Setup Node
46+
uses: actions/setup-node@v6
47+
with:
48+
node-version: 24
49+
cache: 'yarn'
50+
registry-url: https://registry.npmjs.org/
51+
4552
- name: Publish manual release
4653
if: ${{ github.event_name == 'workflow_dispatch' }}
47-
uses: ./.github/actions/publish-npm-package
54+
uses: software-mansion-labs/npm-package-publish@main
4855
with:
56+
package-name: 'react-native-enriched-markdown'
57+
package-json-path: 'package.json'
58+
install-dependencies-command: 'yarn install --immutable'
4959
release-type: ${{ inputs.release-type }}
5060
version: ${{ inputs.version }}
5161
dry-run: ${{ inputs.dry-run }}
5262

5363
- name: Publish automatic nightly release
5464
if: ${{ github.event_name == 'schedule' }}
55-
uses: ./.github/actions/publish-npm-package
65+
uses: software-mansion-labs/npm-package-publish@main
5666
with:
67+
package-name: 'react-native-enriched-markdown'
68+
package-json-path: 'package.json'
69+
install-dependencies-command: 'yarn install --immutable'
5770
release-type: 'nightly'
5871
dry-run: false

scripts/release/get-version.js

Lines changed: 0 additions & 73 deletions
This file was deleted.

scripts/release/npm-utils.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

scripts/release/parse-arguments.js

Lines changed: 0 additions & 66 deletions
This file was deleted.

scripts/release/set-package-version.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)