Skip to content

Bump pytest from 7.4.4 to 8.3.1 in /examples/python-pytest #213

Bump pytest from 7.4.4 to 8.3.1 in /examples/python-pytest

Bump pytest from 7.4.4 to 8.3.1 in /examples/python-pytest #213

Workflow file for this run

name: NPM build and test
on:
push:
branches:
- '**'
paths:
- "webapp/**"
pull_request:
branches: [ main ]
workflow_dispatch:
inputs:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: webapp
strategy:
matrix:
node-version: [ 21, 22 ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Skip duplicate actions
uses: fkirc/skip-duplicate-actions@v5.3.1
- name: Setup node.js version ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: webapp/package-lock.json
- name: Run npm install
run: npm ci
- name: Run tests
run: npm test
- name: Run linter
run: npm run lint