Skip to content

Commit

Permalink
ci: downgrade npm on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Nov 8, 2023
1 parent 21e27fa commit adf2561
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Expand Up @@ -35,6 +35,10 @@ jobs:
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"

# https://github.com/npm/cli/pull/6978
- name: Downgrade npm
run: npm i -g npm@9.7.2

- name: Publish package
run: pnpm run ci-publish ${{ github.ref_name }}
env:
Expand Down

0 comments on commit adf2561

Please sign in to comment.