Skip to content

Commit 9592302

Browse files
authored
Setting up a CI pipeline based on GitHub Actions (#754)
* Setting up a CI pipeline based on GitHub Actions * Removing GCB integration * Renamed file
1 parent 2cfa51a commit 9592302

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Node.js Continous Integration
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [8.x, 10.x]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Set up Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: Install, build and test
21+
run: |
22+
npm ci
23+
npm run build
24+
npm test
25+
env:
26+
CI: true

cloudbuild.yaml

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

0 commit comments

Comments
 (0)