Skip to content

Update bundled binaries #68

Update bundled binaries

Update bundled binaries #68

Workflow file for this run

name: Linter
on:
push:
branches:
- "**"
pull_request:
branches:
- main
workflow_dispatch: {}
permissions:
contents: read
jobs:
linter:
name: linter on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Get npm cache directory
run: echo "npm_cache_dir=$(npm config get cache)" >> ${GITHUB_ENV}
- name: Use cache
uses: actions/cache@v4
with:
path: ${{ env.npm_cache_dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install NPM dependencies
uses: nick-fields/retry@v3
with:
timeout_minutes: 20
max_attempts: 3
retry_on: error
command: npm ci
- name: Lint
run: npm run lint
- name: Verify Publish Configurations
run: ./scripts/lint-publish-configs.sh
- name: Verify No Duplicate Dependencies
run: ./scripts/lint-package-dependencies.sh