Skip to content

chore(deps): update actions/checkout action to v4 #24

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #24

Workflow file for this run

on: push
jobs:
install:
name: Install dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Setup app dependencies
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
- name: Install
run: npm ci
lint:
name: Lint code
runs-on: ubuntu-latest
needs: [install]
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Setup app dependencies
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
- name: Restore dependencies
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
fail-on-cache-miss: true
- name: Run eslint
run: npm run lint