Skip to content

1.5.6

1.5.6 #116

Workflow file for this run

name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_call:
secrets:
LFM_API_KEY:
required: true
LFM_API_CLIENT_ID:
required: true
LFM_API_CLIENT_SECRET:
required: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install
- run: npm run lint-check
check_formatting:
name: Check Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install
- run: npm run format-check
compile:
name: Compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install
- run: npm run compile
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install
- run: npm run test
env:
LFM_API_KEY: ${{ secrets.LFM_API_KEY }}
LFM_API_CLIENT_ID: ${{ secrets.LFM_API_CLIENT_ID }}
LFM_API_CLIENT_SECRET: ${{ secrets.LFM_API_CLIENT_SECRET }}
LFM_API_ACCOUNT_ID: ${{ secrets.LFM_API_ACCOUNT_ID }}
LFM_API_AUTH_HOST: auth.lfmdev.in
LFM_API_HOST: api.lfmdev.in
LFM_API_BRAND_ID: ${{ secrets.LFM_API_BRAND_ID }}