Added/completed televisa deploy configs. Removed some whitespacing in… #187
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
--- | |
name: JS CI tests | |
on: [push, pull_request] | |
jobs: | |
validate: | |
name: Validate config | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 14.x ] | |
env: | |
SCRAMBLER_SECRET: ${{ secrets.SCRAMBLER_SECRET }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
- name: Install scrambler tool | |
run: go install github.com/dbldots/scrambler@latest | |
- name: Add go bin path to PATH | |
run: echo "$HOME/go/bin" >> $GITHUB_PATH | |
- name: Test for scrambler command | |
run: scrambler help | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install yarn package manger (which we use instead of npm) | |
run: npm install -g yarn | |
- name: Run yarn install to bundle project | |
run: yarn install | |
- name: Run yarn test to validate structure of index.js | |
run: yarn test |