Skip to content

Commit

Permalink
Merge pull request #14 from TwilioDevEd/github-actions
Browse files Browse the repository at this point in the history
Implement github actions
  • Loading branch information
jefflinwood authored Oct 25, 2021
2 parents a0cde4b + d855687 commit da1677a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 9 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [master]
paths-ignore:
- "**.md"
- "**.json"
pull_request:
branches: [master]
paths-ignore:
- "**.md"
- "**.json"

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [14]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install Dependencies
run: yarn install
- run: yarn test
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Receive, Download, and Reply with media in WhatsApp Messages. Powered by Twilio - Node.js and Express

[![Build Status](https://travis-ci.org/TwilioDevEd/whatsapp-media-tutorial-node.svg?branch=master)](https://travis-ci.org/TwilioDevEd/whatsapp-media-tutorial-node)
[![Node.js CI](https://github.com/TwilioDevEd/whatsapp-media-tutorial-node/actions/workflows/node.js.yml/badge.svg)](https://github.com/TwilioDevEd/whatsapp-media-tutorial-node/actions/workflows/node.js.yml)

[Read the full quickstart here](https://www.twilio.com/docs/sms/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-nodejs)!

Expand Down

0 comments on commit da1677a

Please sign in to comment.