run npm release workflow on tags #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is Github workflow that installs mcp-k8s from npm to various platforms and tests if it was installed | |
name: Install mcp-k8s | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
install: | |
strategy: | |
matrix: | |
os: | |
# - ubuntu-latest | |
- windows-latest | |
# - macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install mcp-k8s | |
run: | | |
npm install -g @strowk/mcp-k8s | |
- name: Test mcp-k8s | |
run: | | |
mcp-k8s version | |