Skip to content

Update pre-commit

Update pre-commit #315

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: 'Tests'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [18, 20, 22, 24]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: SocketDev/socket-packageurl-js/.github/actions/setup@ba6474a7c706597029974d7a546d2fbfa749d1e1
with:
node-version: ${{ matrix.node-version }}
- name: Run tests
run: pnpm run test