Skip to content

Update event categorization for Nexus events #18

Update event categorization for Nexus events

Update event categorization for Nexus events #18

Workflow file for this run

name: Release to VS Code Extension Marketplace
on:
pull_request:
types: [closed]
jobs:
publish:
if: startsWith(github.head_ref, 'releases/') && github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Clean install
run: npm ci
- name: Build package
run: npm run build
- name: Test
run: npm test
- name: Publish package to marketplace
run: npm run publish
env:
VSCE_PAT: ${{secrets.VSCODE_MARKETPLACE_PERSONAL_ACCESS_TOKEN}}
create_release:
needs: publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Create Release
run: |
version=`cat ./package.json | jq -r .version`
echo "latest version: $version"
tag="v$version"
echo "creating release: $tag"
gh release create $tag --generate-notes
env:
GH_TOKEN: ${{ secrets.COMMANDER_DATA_TOKEN }}