Skip to content

Commit

Permalink
Is node really needed?
Browse files Browse the repository at this point in the history
  • Loading branch information
keesschollaart81 committed Aug 25, 2019
1 parent 3da72aa commit 084f4be
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/github-actions-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,20 @@ jobs:

- uses: actions/checkout@v1

- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
# - name: Use Node.js 12.x
# uses: actions/setup-node@v1
# with:
# node-version: 12.x

- name: NPM Install & Compile
run: |
npm install
npm run compile
- name: NPM Publish
if: success() && github.ref == 'refs/heads/master'
run: |
npm install -g vsce
vsce publish -p $VSCE_TOKEN
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}

# - name: VSCE
# uses: lannonbr/[email protected]
# if: success() && github.ref == 'refs/heads/master'
# with:
# args: publish -p ${{ secrets.VSCE_TOKEN }}
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}

0 comments on commit 084f4be

Please sign in to comment.