Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Murmele committed Jun 23, 2024
1 parent 393fd2d commit 022faa3
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
# else it will complete this job, and silently fail to publish an update on the marketplace.

name: Publish the VS Code Extension
#on:
# pull_request:
# types:
# - closed
# for testing only
on:
push:
branches: [master, staging, trying]
pull_request:
types:
- closed
# for testing only
#on:
# push:
# branches: [master, staging, trying]
# pull_request:

jobs:
#if_merged:
# if: github.event.pull_request.merged == true
name: Publish the VS Code Extension to Open VSX
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install --frozen-lockfile
- run: npm install -g vsce
- run: npm run pretest
- name: Finally, publish to the marketplace.
run: npm run publish --registry=https://open-vsx.org/
env:
VSCE_PAT: ${{ secrets.OPEN_VSX_MARKETPLACE_TOKEN }}
if_merged:
if: github.event.pull_request.merged == true
name: Publish the VS Code Extension to Open VSX
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install --frozen-lockfile
- run: npm install -g vsce
- run: npm run pretest
- name: Finally, publish to the marketplace.
run: npm run publish --registry=https://open-vsx.org/
env:
VSCE_PAT: ${{ secrets.OPEN_VSX_MARKETPLACE_TOKEN }}

0 comments on commit 022faa3

Please sign in to comment.