Skip to content

DTL-5457 Install CI/CD for app-extensions-sdk #55

DTL-5457 Install CI/CD for app-extensions-sdk

DTL-5457 Install CI/CD for app-extensions-sdk #55

Workflow file for this run

name: On Commit
on:
pull_request_target:
branches:
- master
jobs:
lint:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
- uses: actions/setup-node@v2
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- run: npm install
- run: npm run lint