Skip to content

Commit 8382339

Browse files
committed
add github action.
1 parent 71f310c commit 8382339

File tree

2 files changed

+27
-15
lines changed

2 files changed

+27
-15
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Kubernetes Javascript Client - Validation
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node: [ '12', '10' ]
15+
name: Node ${{ matrix.node }} validation
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-node@v1
19+
with:
20+
node-version: ${{ matrix.node }}
21+
# Pre-check to validate that versions match between package.json
22+
# and package-lock.json. Needs to run before npm install
23+
- run: node version-check.js
24+
- run: npm install
25+
- run: npm test
26+
- run: npm lint
27+

.travis.yml

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

0 commit comments

Comments
 (0)