Skip to content

build(deps): bump actions/setup-node from 4.0.1 to 4.0.2 #349

build(deps): bump actions/setup-node from 4.0.1 to 4.0.2

build(deps): bump actions/setup-node from 4.0.1 to 4.0.2 #349

Workflow file for this run

name: Lint
on: [push, pull_request]
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: lts/*
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
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
- name: Lint
run: yarn lint