We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd50610 commit c5a3807Copy full SHA for c5a3807
.github/workflows/publish.yml
@@ -8,14 +8,18 @@ on:
8
# if the version hasn't changed, don't bother
9
- package.json
10
11
+permissions:
12
+ contents: read
13
+ id-token: write
14
+
15
jobs:
16
publish:
17
runs-on: ubuntu-24.04
18
timeout-minutes: 4
19
20
steps:
21
- name: Checkout Repo
- uses: actions/checkout@v4
22
+ uses: actions/checkout@v5
23
24
- uses: actions/setup-node@v4
25
with:
@@ -24,7 +28,8 @@ jobs:
28
registry-url: 'https://registry.npmjs.org'
29
scope: '@supabase'
26
30
31
+ # Ensure npm 11.5.1 or later is installed for trusted publishing support
32
+ - name: Update npm
33
+ run: npm install -g npm@latest
27
34
- run: npm ci
35
- run: npm publish --access public
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
0 commit comments