Skip to content

v2.5.3 into main

v2.5.3 into main #9

Workflow file for this run

name: Lint and Test
on:
pull_request:
paths-ignore:
- '**.md'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: Get app version
run: |
echo "APP_VERSION=$(npm pkg get version | sed 's/"//g')" >> $GITHUB_ENV
- name: Install modules
run: yarn
- name: Run ESLint
if: ${{ !startsWith(env.APP_VERSION, '1') }}
run: yarn lint