Upgrade npm to latest before publish for OIDC support
This commit is contained in:
@@ -28,6 +28,9 @@ jobs:
|
||||
- name: Verify tag matches package.json version
|
||||
run: node -e "const {version}=require('./package.json'); const tag=process.env.GITHUB_REF_NAME; if(version!==tag){console.error(\`Tag \${tag} does not match package.json version \${version}\`); process.exit(1);}"
|
||||
|
||||
- name: Upgrade npm
|
||||
run: npm install -g npm@latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user