Skip to content

chore(deps): update actions/cache digest to b7e8d49 #3351

chore(deps): update actions/cache digest to b7e8d49

chore(deps): update actions/cache digest to b7e8d49 #3351

Workflow file for this run

name: Test
on:
push:
branches: # Array of patterns that match refs/heads
- main # Push events on main branch
pull_request: # Specify a second event with pattern matching
env:
CI: true
permissions:
contents: read
actions: read
checks: write
jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 21.x, 22.x, 24.x]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: ${{ matrix.node-version }}
- name: Restore Dependencies
uses: actions/cache@b7e8d49f17405cc70c1c120101943203c98d3a4b
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{matrix.node-version}}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{matrix.node-version}}-
- run: npm ci
- run: npm run build
- run: npm run format:check
- run: npm run lint
- run: npm run jest
- run: npm run examples
- run: npm run benchmarks
- name: Coveralls GitHub Action
# Per Actions best practices, SHA is the safest for third party actions
# https://github.com/coverallsapp/github-action/releases/tag/v2.3.6
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-unit-${{ matrix.node-version }}
parallel: true
finish:
needs: unit
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
# Per Actions best practices, SHA is the safest for third party actions
# https://github.com/coverallsapp/github-action/releases/tag/v2.3.6
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true