Skip to content

Commit

Permalink
Add Github actions (stephenh#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
cliedeman committed Jun 6, 2020
1 parent dc6fe35 commit b54c5ae
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,31 @@
name: Build
on:
pull_request:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: yarn install || echo "ignore failure"
- name: pbjs
run: ./pbjs.sh
- name: Prepare Integration
run: ./integration/pbjs.sh
- name: test
run: yarn test
env:
CI: true
1 change: 1 addition & 0 deletions README.markdown
@@ -1,6 +1,7 @@

[![npm](https://img.shields.io/npm/v/ts-proto)](https://www.npmjs.com/package/ts-proto)
[![CircleCI](https://circleci.com/gh/stephenh/ts-proto.svg?style=svg)](https://circleci.com/gh/stephenh/ts-proto)
![]https://github.com/stephenh/ts-proto/workflows/Build/badge.svg)

# ts-proto

Expand Down

0 comments on commit b54c5ae

Please sign in to comment.