Skip to content

ci: limit permissions of e2e-tests workflow and pin actions to commit… #12

ci: limit permissions of e2e-tests workflow and pin actions to commit…

ci: limit permissions of e2e-tests workflow and pin actions to commit… #12

Workflow file for this run

name: Unit Tests
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run tests
run: bun test:unit