diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..86c1caf --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,32 @@ +name: Continuous Integration for react-native-channel-io + +on: + release: + types: [created] + +permissions: + contents: read + id-token: write + +concurrency: + group: react-native-channel-io-${{ github.head_ref || github.sha }} + cancel-in-progress: true + +jobs: + deploy: + runs-on: ubuntu-latest + env: + TZ: "Asia/Seoul" + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup node + uses: actions/setup-node@v4 + with: + # nvm rc 참고 + node-version: 24.10.0 + registry-url: 'https://registry.npmjs.org' + + - name: build and deploy + run: npm publish --dry-run diff --git a/package.json b/package.json index 8c2ccd5..08508a6 100644 --- a/package.json +++ b/package.json @@ -15,5 +15,16 @@ "peerDependencies": { "react-native": ">=0.60.0", "react-native-firebase": ">=5.0.0" - } + }, + "files": [ + "android/src", + "android/build.gradle", + "ios", + "RNChannelIO.podspec", + "index.ts", + "README.md", + "CHANGELOG.md", + "LICENSE", + "package.json" + ] }