Skip to content

Commit 0a298d5

Browse files
update node version
1 parent 8fe22ba commit 0a298d5

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,19 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
19-
- name: Checkout Source Code
19+
- name: Checkout
2020
uses: actions/checkout@v2
2121

22-
- name: Install Node.js
22+
- name: Set up Node.js
2323
uses: actions/setup-node@v1
2424
with:
25-
node-version: 16.x
25+
node-version: '18.x' # Using Node.js 18.x to avoid the ReadableStream issue
2626

27-
- name: Install Dependencies
27+
- name: Install dependencies
2828
run: npm install
2929

30-
- name: Install VSCE
31-
run: npm install -g vsce
30+
- name: Install vsce globally
31+
run: npm install -g vsce # Installing vsce globally to avoid missing package errors
3232

33-
- name: Build Extension
34-
run: npm run vscode:prepublish
35-
36-
# - name: Run Tests
37-
# run: npm test
38-
39-
- name: Package Extension
40-
run: npx vsce package
41-
42-
# - name: Verify Extension
43-
# run: npx vscode-test
33+
- name: Build and package extension
34+
run: npm run vscode:prepublish # Running your prepublish script

0 commit comments

Comments
 (0)