From df886f22da1812ef162de5e4da57610446cbf6fa Mon Sep 17 00:00:00 2001 From: kellertk Date: Tue, 19 Aug 2025 19:59:17 -0700 Subject: [PATCH] chore: tests-unit update --- .github/workflows/tests-unit.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests-unit.yml b/.github/workflows/tests-unit.yml index a6e0925..9277401 100644 --- a/.github/workflows/tests-unit.yml +++ b/.github/workflows/tests-unit.yml @@ -2,6 +2,8 @@ on: [pull_request] name: Run unit tests +permissions: + contents: read jobs: unit-test: @@ -14,13 +16,13 @@ jobs: timeout-minutes: 5 steps: - name: "Checkout repository" - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: "Setup node" - uses: actions/setup-node@v4 + uses: actions/setup-node@v4.4.0 with: node-version: 20 - name: "Install dependencies" - uses: bahmutov/npm-install@v1 + run: npm ci - name: "Run tests" run: npm run test --if-present lint: