Skip to content

Commit

Permalink
Merge pull request #1745 from junedkazi/github-actions
Browse files Browse the repository at this point in the history
Github actions to replace travis
  • Loading branch information
junedkazi authored Jul 29, 2020
2 parents 72e2b60 + 0798213 commit 877b252
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/pull_request_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This workflow will do a clean install of node dependencies, 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 ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node: [10.x]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Ruby 2.7
uses: ruby/setup-ruby@v1.40.0
with:
ruby-version: 2.7
- run: bundle install

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node }}

- name: Install Dependencies
run: npm ci

- name: Grunt Check
run: npx grunt check

- name: Validate theme bundle
run: npx stencil bundle

0 comments on commit 877b252

Please sign in to comment.