ops: add config poll change workflow #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/[email protected] | |
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 Stencil CLI Dependency | |
run: npm install -g @bigcommerce/stencil-cli | |
- name: Install Dependencies | |
run: npm ci | |
- name: Grunt Check | |
run: npx grunt check | |
- name: Validate theme bundle | |
run: npx stencil bundle |