Skip to content

fix: bump cache from 7d to 31d #1623

fix: bump cache from 7d to 31d

fix: bump cache from 7d to 31d #1623

Workflow file for this run

name: Tests
on:
push:
branches:
- main
tags:
- '!*'
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
jobs:
test:
name: Node.js ${{ matrix.node }} on ${{ matrix.os }}
timeout-minutes: 3
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [20,22]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: corepack enable npm
- run: npm --version
- run: npm install
- run: npm run lint
- run: npm run test