-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 714 Bytes
/
Copy pathci.yaml
File metadata and controls
32 lines (30 loc) · 714 Bytes
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
name: Continuous Integration Workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
lint-and-build:
name: lint and build source
runs-on: ubuntu-latest
steps:
- name: checkout source code
uses: actions/checkout@v4
- name: install node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
- name: log versions
run: |
node --version
npm -v
- name: install npm dependencies
run: npm install
- name: run linter
run: npm run lint
- name: build vsix package
run: npm exec -- vsce package --no-dependencies