Skip to content

Merge pull request #301 from htmlhint/dependabot/github_actions/githu… #326

Merge pull request #301 from htmlhint/dependabot/github_actions/githu…

Merge pull request #301 from htmlhint/dependabot/github_actions/githu… #326

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- "!dependabot/**"
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
permissions:
contents: read
jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: [22]
os: [ubuntu-latest]
steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install npm dependencies
run: npm ci
- name: Run tests
run: npm test