Skip to content

chore(main): release chrome-devtools-mcp 0.1.0 (#34) #4

chore(main): release chrome-devtools-mcp 0.1.0 (#34)

chore(main): release chrome-devtools-mcp 0.1.0 (#34) #4

name: publish-on-tag
on:
push:
tags:
- 'chrome-devtools-mcp-v*'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Check out repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 2
- name: Set up Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
cache: npm
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
TAG_NAME: ${{github.ref_name}}
run: |
npm config set registry 'https://wombat-dressing-room.appspot.com/'
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
npm publish --provenance --access public