Skip to content

Commit c22a20d

Browse files
Merge pull request #1266 from Azure/antmarti/githubactions
Use GitHub actions to run tests
2 parents 54b5ec6 + 0defeca commit c22a20d

File tree

3 files changed

+25
-28
lines changed

3 files changed

+25
-28
lines changed

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Setup Node.js
15+
uses: actions/setup-node@v2.1.2
16+
with:
17+
node-version: 10.x
18+
19+
- name: Install NPM modules
20+
run: npm ci
21+
working-directory: ./tools
22+
23+
- name: Run CI tests
24+
run: npm test
25+
working-directory: ./tools

azure-pipelines-ci.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

tools/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"license": "MIT",
77
"scripts": {
88
"test": "mocha -r ts-node/register tests.ts",
9-
"test-ci": "mocha --reporter mocha-junit-reporter -r ts-node/register tests.ts",
109
"serve": "ts-node server.ts"
1110
},
1211
"devDependencies": {

0 commit comments

Comments
 (0)