diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 312010054..e5084ed69 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,19 +1,17 @@ name: Publish packages on NPM on: - # release: - # types: [created] workflow_dispatch: jobs: build: runs-on: ubuntu-latest - environment: Production - permissions: - id-token: write steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: '24.x' + registry-url: 'https://registry.npmjs.org/' - run: yarn - run: yarn run lerna publish from-package --yes + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/packages/react-native-apollo-client/package.json b/packages/react-native-apollo-client/package.json index cd451f51a..2a0e0c85e 100644 --- a/packages/react-native-apollo-client/package.json +++ b/packages/react-native-apollo-client/package.json @@ -1,6 +1,7 @@ { "name": "@flashcatcloud/mobile-react-native-apollo-client", "version": "0.1.0", + "private": true, "description": "A client-side React Native module to interact with Apollo Client and Datadog", "keywords": [ "datadog",