diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index bd53bc0..eddc6f0 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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