Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 8bcbda5

Browse files
committed
Set up CI using GitHub Actions
1 parent f432863 commit 8bcbda5

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/nodejs.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: VSCode + Node.js CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, macos-latest, windows-latest]
16+
# Lock to the version shipped with VSCode 1.36+
17+
node-version: ['10.10']
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- name: Install latest Rust stable toolchain
26+
uses: actions-rs/toolchain@v1
27+
with:
28+
toolchain: stable
29+
profile: minimal
30+
- run: npm ci
31+
- run: npm run prettier -- --list-different
32+
- run: npm run compile
33+
- run: npm run lint
34+
- run: npm audit
35+
- name: Run headless tests
36+
uses: GabrielBB/[email protected]
37+
with:
38+
run: npm test

0 commit comments

Comments
 (0)