This repository has been archived by the owner on Jul 20, 2024. It is now read-only.
chore(deps): update dependency @types/node to v18.19.41 #8260
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing | |
on: | |
push: | |
pull_request: | |
jobs: | |
jest: | |
name: Jest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
- 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 |