-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathci.yml
More file actions
23 lines (22 loc) · 780 Bytes
/
ci.yml
File metadata and controls
23 lines (22 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
prepare:
steps:
- name: Install Dependencies
command: cd server && npm install
- name: remove vscode
command: rm -rf .codesphere-internal/*.vsix .codesphere-internal/nohup-out .codesphere-internal/vscode_cli.tar.gz .codesphere-internal/code ../.vscode-server ../.vscode
- name: Change node version
command: sudo -u admin n 18.18.0
- name: Install Dependencies
command: npm i
- name: Compile project
command: npm run compile
- name: bundle project
command: npm run vscode:prepublish
- name: Package extension
command: ./node_modules/@vscode/vsce/vsce pack --allow-star-activation && mv *.vsix .codesphere-internal/
test:
steps: []
run:
steps:
- name: test
command: cd server