Skip to content

Allow Gitiles URL for HTTP remote to be different to URL for the web interface #1

Allow Gitiles URL for HTTP remote to be different to URL for the web interface

Allow Gitiles URL for HTTP remote to be different to URL for the web interface #1

name: Create VS Code Extension
on:
pull_request:
types: [opened, synchronize, edited]
branches-ignore:
- "dependabot/**"
jobs:
create-extension:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
working-directory: ./vscode
run: npm ci
- name: Package Extension
working-directory: ./vscode
run: node_modules/.bin/vsce package --baseImagesUrl https://github.com/reduckted/GitWebLinks/raw/HEAD/vscode --allow-star-activation
- name: Save Extension
uses: actions/upload-artifact@v4
with:
name: vscode-gitweblinks.vsix
path: ./vscode/vscode-gitweblinks*.vsix