Files
mediabunny/.github/workflows/test.yml
T
Alexander von Studnitz 32b3007a3f Pin github actions to commit SHAs
This reduces the attack surface of supply-chain attacks and is generally a good practice.
2025-09-17 11:55:41 +02:00

26 lines
493 B
YAML

name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- name: Set up Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test