Skip to content

chore(deps): Bump actions/cache from 4.3.0 to 5.0.1 #99

chore(deps): Bump actions/cache from 4.3.0 to 5.0.1

chore(deps): Bump actions/cache from 4.3.0 to 5.0.1 #99

Workflow file for this run

name: 馃И Test
on:
push:
branches:
- main
- beta
pull_request: {}
workflow_dispatch: {}
jobs:
test:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: 馃摜 Checkout repository
uses: actions/checkout@c2d88d3ecc89a9ef08eebf45d9637801dcee7eb5 # main
- name: 馃煝 Setup Node.js
uses: actions/setup-node@b9b25d45f70a5d94d88496aa4896bf9ed8f49b67 # main
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: 馃梽 Cache node_modules
id: cache-node_modules
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # main
with:
path: "**/node_modules"
key: node_modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: 馃梽 Cache .eslintcache
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # main
with:
path: .eslintcache
key: eslintcache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: 馃攳 Install dependencies
if: steps.cache-node_modules.outputs.cache-hit != 'true'
run: |
npm ci --ignore-scripts --prefer-offline --no-audit
- name: 馃И Run tests
run: |
npm test
env:
CI: true