Skip to content

.github/workflows/testcachewindows.yml #1

.github/workflows/testcachewindows.yml

.github/workflows/testcachewindows.yml #1

on:
workflow_dispatch:
jobs:
node-npm-depencies-caching:
name: Test cache for (Node ${{ matrix.node-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [18,20]
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install