Skip to content

feat: add git blame fetch at the opening of a text file #128

feat: add git blame fetch at the opening of a text file

feat: add git blame fetch at the opening of a text file #128

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- created
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
publish:
if: startsWith(github.ref, 'refs/tags/')
needs: test
environment:
name: Visual Studio Marketplace
url: https://marketplace.visualstudio.com/items?itemName=carlthome.git-line-blame
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
- run: npm install
- run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}