Skip to content

npm(deps-dev): bump axios from 1.15.1 to 1.16.0 #149

npm(deps-dev): bump axios from 1.15.1 to 1.16.0

npm(deps-dev): bump axios from 1.15.1 to 1.16.0 #149

Workflow file for this run

name: JS Tests
on:
push:
paths:
- '**.js'
- '**.jsx'
- '**.ts'
- '**.tsx'
- 'package.json'
- 'package-lock.json'
- 'jest.config.js'
- '.github/workflows/js-tests.yml'
pull_request:
branches: [develop, main]
paths:
- '**.js'
- '**.jsx'
- '**.ts'
- '**.tsx'
- 'package.json'
- 'package-lock.json'
- 'jest.config.js'
- '.github/workflows/js-tests.yml'
workflow_dispatch:
# Disable all permissions by default; grant minimal permissions per job
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-test:
name: Lint and Jest Tests
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up NodeJS 20
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '20'
cache: npm
- name: Install dependencies
run: npm ci
- name: Cache ESLint and Jest results
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: |
.eslintcache
node_modules/.cache/jest
key: js-cache-${{ runner.os }}-${{ hashFiles('package-lock.json', 'jest.config.js', '.eslintrc*', 'eslint.config.*') }}-${{ github.sha }}
restore-keys: |
js-cache-${{ runner.os }}-${{ hashFiles('package-lock.json', 'jest.config.js', '.eslintrc*', 'eslint.config.*') }}-
js-cache-${{ runner.os }}-
- name: Run Lint JS
run: npm run lint-js -- --cache
- name: Run Jest tests
run: npm run test-jest