Skip to content

build(deps): bump actions/cache from 5.0.1 to 5.0.2 #453

build(deps): bump actions/cache from 5.0.1 to 5.0.2

build(deps): bump actions/cache from 5.0.1 to 5.0.2 #453

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
workflow_call:
permissions:
contents: read
jobs:
lint:
name: Lint
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set git global config (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: lts/*
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}-node-modules
- name: Install
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint