From 4ec56894259a665708b600ea43199555d1631953 Mon Sep 17 00:00:00 2001 From: Fiona Date: Tue, 18 Aug 2026 04:55:23 -0700 Subject: [PATCH 1/2] chore: no-op commit to register Actions workflows From 6e6011d7a30346a7214fcd0e8c7bc492ede4cd09 Mon Sep 17 00:00:00 2001 From: Fiona Date: Tue, 18 Aug 2026 05:01:16 -0700 Subject: [PATCH 2/2] fix(ci): publish to npm with NPM_TOKEN and exclude apollo-client package - The publish workflow relied on npm trusted publishing (OIDC), which cannot create brand-new packages: every publish failed with E404. Switch to token-based auth via the NPM_TOKEN repository secret, matching how the other Flashcat npm packages are published. - Mark mobile-react-native-apollo-client as private: it is not part of the published package set (core, react-navigation, react-native-navigation, webview). --- .github/workflows/publish.yml | 8 +++----- packages/react-native-apollo-client/package.json | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) 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",