build: update angular #616
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
pull_request: | |
# Declare default permissions as read only. | |
permissions: | |
contents: read | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0 | |
with: | |
node-version-file: '.nvmrc' | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile --ignore-scripts | |
- name: Setup ESLint Caching | |
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 | |
with: | |
path: .eslintcache | |
key: ${{ runner.os }}-${{ hashFiles('.eslintrc.json') }}-1 | |
- name: Run ESLint | |
run: yarn lint --cache-strategy content |