aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/cli.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cli.yml')
-rw-r--r--.github/workflows/cli.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml
index ac4370cb..de3d9416 100644
--- a/.github/workflows/cli.yml
+++ b/.github/workflows/cli.yml
@@ -3,7 +3,7 @@ on:
push:
tags:
# This is a glob pattern not a regex
- - 'cli/v[0-9]+.[0-9]+.[0-9]+'
+ - "cli/v[0-9]+.[0-9]+.[0-9]+"
permissions:
id-token: write # Required for OIDC
@@ -22,5 +22,8 @@ jobs:
run: pnpm build
working-directory: apps/cli
+ # npm 11.5.1 or later is required for trusted publishing
+ - run: npm install -g npm@latest
+
- run: pnpm publish --access public --no-git-checks
working-directory: apps/cli