Skip to content

Upgrade: Bump tslib from 2.6.0 to 2.6.2 #2093

Upgrade: Bump tslib from 2.6.0 to 2.6.2

Upgrade: Bump tslib from 2.6.0 to 2.6.2 #2093

name: Check handlebars templates
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
check-handlebars-templates:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install handlebars
run: |
npm install -g handlebars
- name: Run check-handlebars-templates.sh
run: |
npm install -g handlebars
./check-handlebars-templates.sh