Skip to content

updated workflow #1174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/actions/npm-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ inputs:
required: true
version:
required: true
require-build:
default: true
release-directory:
default: './'

Expand All @@ -21,9 +19,8 @@ runs:
uses: ./.github/actions/setup

- name: Build package
if: inputs.require-build == 'true'
shell: bash
run: yarn build
run: yarn ci

- name: Publish release to NPM
shell: bash
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Create npm and GitHub Release
on:
workflow_call:
inputs:
require-build:
default: 'true'
type: string
release-directory:
default: './'
type: string
Expand Down Expand Up @@ -60,7 +57,6 @@ jobs:
# Publish the release to our package manager
- uses: ./.github/actions/npm-publish
with:
require-build: ${{ inputs.require-build }}
version: ${{ steps.get_version.outputs.version }}
npm-token: ${{ secrets.npm-token }}
release-directory: ${{ inputs.release-directory }}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"release": "release-it",
"bootstrap": "cd example && npm ci",
"ci": "yarn install --immutable && yarn prepare",
"clean": "del-cli lib out android/build example/android/build example/android/app/build example/ios/build",
"prepare": "husky && bob build && rm -rf lib/*/package.json",
"example:android": "cd example && npm run android",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13356,8 +13356,8 @@ __metadata:
linkType: hard

"react-native-paper@npm:^5.14.0":
version: 5.14.2
resolution: "react-native-paper@npm:5.14.2"
version: 5.14.3
resolution: "react-native-paper@npm:5.14.3"
dependencies:
"@callstack/react-theme-provider": ^3.0.9
color: ^3.1.2
Expand All @@ -13366,7 +13366,7 @@ __metadata:
react: "*"
react-native: "*"
react-native-safe-area-context: "*"
checksum: 44916c4f3a0962afdb272aec0d4db01203793b0e885e5f80fc07c49f9aa1bda3d010b00237396351addd916a774c9478a0076dc281536c461ec9c85668ce071f
checksum: 6083c84778f5f099e74237b6a362a6e6cbb19d9e35d1a0cf7f2df7e67c8368acd2d96e002315c98a2a9feca60dad15e1a9a094b43016e7c1dcbb150a18a8072f
languageName: node
linkType: hard

Expand Down