Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

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

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

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

Workflow file for this run

name: Testing
on:
push:
pull_request:
jobs:
jest:
name: Jest
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up node
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: "18.x"
- name: Restore cached modules
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
id: cache-packages
with:
path: node_modules
key: npm-${{ hashFiles('**/package-lock.json') }}
- name: Fallback if module cache fails
run: npm ci
if: steps.cache-packages.outputs.cache-hit != 'true'
- name: Run Jest
run: npm test