diff --git a/.github/workflows/deployFreighterApiProduction.yml b/.github/workflows/deployFreighterApiProduction.yml index 09f75b893..5dd99b169 100644 --- a/.github/workflows/deployFreighterApiProduction.yml +++ b/.github/workflows/deployFreighterApiProduction.yml @@ -16,7 +16,9 @@ jobs: - name: Build package uses: actions/setup-node@v4 with: - node-version: "21" + node-version: '21.x' + registry-url: 'https://registry.npmjs.org' + always-auth: true - name: Version npm package run: | git config --local user.email "action@github.com" @@ -27,10 +29,6 @@ jobs: yarn version --new-version ${{ github.event.inputs.release }} cd ../../ - run: yarn && yarn build:freighter-api - - name: Setup .yarnrc.yml - run: yarn config set npmAuthToken $NODE_AUTH_TOKEN - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish npm package run: | cd @stellar/freighter-api