-
-
Notifications
You must be signed in to change notification settings - Fork 78
33 lines (32 loc) · 802 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
run:
name: Upload vsix package
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: latest
- name: npm ci
run: npm ci
- name: npm run vscode:prepublish
run: npm run vscode:prepublish
- name: npm test
run: npm test
- name: build vsix package
run: npm run package
- name: upload vsix package
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
path: veriloghdl-*.vsix