Skip to content

Bump actions/cache from 3.3.1 to 4.0.0 #196

Bump actions/cache from 3.3.1 to 4.0.0

Bump actions/cache from 3.3.1 to 4.0.0 #196

Workflow file for this run

name: Test
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
node_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
- id: npm-cache-dir
run: echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
path: '${{ steps.npm-cache-dir.outputs.dir }}'
key: "${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}"
restore-keys: '${{ runner.os }}-node-'
- run: npm ci
- run: npx turbo run test --concurrency 1 --continue