Skip to content

publish vgscode to npmjs #6

publish vgscode to npmjs

publish vgscode to npmjs #6

Workflow file for this run

name: publish vgscode to npmjs
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm i
- run: npm run build
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}