Skip to content

Update actions/cache action to v4 #1239

Update actions/cache action to v4

Update actions/cache action to v4 #1239

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node 14
uses: actions/setup-node@v4
with:
node-version: 14.x
- name: Use cached node_modules
uses: actions/cache@v4
with:
path: node_modules
key: nodeModules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
nodeModules-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint and Test
run: yarn test