Skip to content

Commit

Permalink
Refactor ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jiribenes committed Sep 17, 2024
1 parent 7a3a837 commit 297b738
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,24 @@ name: Continuous Integration

on: [push]

env:
NODE_VERSION: '18.x'

jobs:
build-vscode:
name: Build the VSCode extension
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
- uses: actions/checkout@v4

- name: Set up NodeJS ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: ${{ env.NODE_VERSION }}

- run: npm install -g typescript
- run: npm install -g vsce
- run: npm install

- name: Package VSCode extension into .vsix file
run: vsce package

0 comments on commit 297b738

Please sign in to comment.