Skip to content

npm(deps-dev): bump the dev-dependencies group across 1 directory wit… #92

npm(deps-dev): bump the dev-dependencies group across 1 directory wit…

npm(deps-dev): bump the dev-dependencies group across 1 directory wit… #92

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@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: '20'
cache: npm
- name: Install dependencies
run: npm ci
- name: Run Lint JS
run: npm run lint-js
- name: Run Jest tests
run: npm run test-jest