js-waku/.github/workflows/ci.yml

35 lines
577 B
YAML
Raw Normal View History

name: CI
on:
push:
branches:
- 'main'
pull_request:
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install bufbuild
2021-03-15 04:23:54 +00:00
uses: mu-io/setup-buf@v1beta
with:
buf-version: '0.39.1'
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: '14'
2021-03-15 03:50:52 +00:00
- name: install using npm ci
uses: bahmutov/npm-install@v1
- name: build
run: npm build
- name: test
run: npm test