Skip to content

Commit dbef21d

Browse files
SDK regeneration (#67)
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 12b324b commit dbef21d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
needs: [ compile, test ]
4646
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
4747
runs-on: ubuntu-latest
48+
permissions:
49+
contents: read # Required for checkout
50+
id-token: write # Required for OIDC
4851
steps:
4952
- name: Checkout repo
5053
uses: actions/checkout@v6
@@ -63,7 +66,6 @@ jobs:
6366

6467
- name: Publish to npm
6568
run: |
66-
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
6769
publish() { # use latest npm to ensure OIDC support
6870
npx -y npm@latest publish "$@"
6971
}
@@ -73,6 +75,4 @@ jobs:
7375
publish --access public --tag beta
7476
else
7577
publish --access public
76-
fi
77-
env:
78-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
78+
fi

0 commit comments

Comments
 (0)