Skip to content

chore(deps): bump the github-actions group with 2 updates #20

chore(deps): bump the github-actions group with 2 updates

chore(deps): bump the github-actions group with 2 updates #20

name: jQuery Mousewheel
on:
pull_request:
push:
branches:
- main
env:
NODE_VERSION: 22.x
jobs:
build-and-test:
runs-on: ubuntu-latest
name: Test jQuery Mousewheel Integration
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
submodules: recursive
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-
- name: Install dependencies
run: npm install
- name: Run jQuery Mousewheel tests
working-directory: test/jquery-mousewheel
run: npm it