Skip to content

chore(deps): update dependency eslint-config-neon to ^0.2.4 #16303

chore(deps): update dependency eslint-config-neon to ^0.2.4

chore(deps): update dependency eslint-config-neon to ^0.2.4 #16303

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
Dependencies:
name: Install dependencies
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: Install Volta
uses: volta-cli/action@5c175f92dea6f48441c436471e6479dbc192e194 # v4
- name: Install dependencies
uses: ./.github/actions/yarn-install
- name: Cache dependencies
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
path: node_modules/
key: ${{ runner.os }}-dependencies-${{ github.sha }}
Linting:
name: ESLint
needs: Dependencies
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: Install Volta
uses: volta-cli/action@5c175f92dea6f48441c436471e6479dbc192e194 # v4
- name: Restore dependencies
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
id: restore-dependencies
with:
path: node_modules/
key: ${{ runner.os }}-dependencies-${{ github.sha }}
fail-on-cache-miss: true
- name: Register Problem Matcher
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
- name: Run ESLint
run: yarn lint
Building:
name: TypeScript
needs: Dependencies
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: Install Volta
uses: volta-cli/action@5c175f92dea6f48441c436471e6479dbc192e194 # v4
- name: Restore dependencies
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
id: restore-dependencies
with:
path: node_modules/
key: ${{ runner.os }}-dependencies-${{ github.sha }}
fail-on-cache-miss: true
- name: Register Problem Matcher
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
- name: Run TypeScript compiler
run: yarn build
- name: Cache build output
if: github.ref_name == 'main'
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
path: dist/
key: ${{ runner.os }}-build-output-${{ github.sha }}
SpellChecking:
name: Typos
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: Run Typos CI
uses: crate-ci/typos@685eb3d55be2f85191e8c84acb9f44d7756f84ab # v1.29.4