Skip to content

v13.0.45

v13.0.45 #53

Workflow file for this run

name: Publish SVM
on:
release:
types: [created]
permissions:
id-token: write
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- run: mv package.svm.json package.json
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@master
- name: Remove token auth (force OIDC)
run: |
rm -f .npmrc ~/.npmrc || true
npm config delete "//registry.npmjs.org/:_authToken" || true
- run: npm publish --ignore-scripts --access public
- name: Upload npm logs
if: always()
uses: actions/upload-artifact@v4
with:
name: npm-logs
path: /home/runner/.npm/_logs/
if-no-files-found: warn
retention-days: 14