From 385ea80ff96e0c138f4ce1fcf75b3e5c13617c63 Mon Sep 17 00:00:00 2001 From: Petr Konecny Date: Wed, 7 Jan 2026 13:32:07 +0100 Subject: [PATCH] chore: switch to trusted publishing --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4cdb06c..ea6eba4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,6 +23,7 @@ jobs: pull-requests: write contents: write deployments: write + id-token: write environment: name: npm url: https://www.npmjs.com/package/@strv/react-native-hero-carousel @@ -33,10 +34,10 @@ jobs: ssh-key: ${{ secrets.SSH_KEY }} - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 cache: 'yarn' + registry-url: 'https://registry.npmjs.org' - run: yarn install - env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx auto shipit + run: unset NODE_AUTH_TOKEN && npx auto shipit