Skip to content

v2.6.1 into main

v2.6.1 into main #10

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
run: yarn lint
- name: Run Prettier
run: yarn format --check