Skip to content

Build: Test more browsers and jquery versions in pull requests #252

Build: Test more browsers and jquery versions in pull requests

Build: Test more browsers and jquery versions in pull requests #252

Workflow file for this run

name: Node
on:
pull_request:
push:
branches-ignore: "dependabot/**"
env:
NODE_VERSION: 20.x
jobs:
node-smoke-test:
runs-on: ubuntu-latest
name: Node smoke tests
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
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 Node smoke tests
run: npm run test:node_smoke_tests