From c603443c1706e87a8f0d879509b5a0cb45bd0125 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Tue, 22 Oct 2024 14:23:01 -0500 Subject: [PATCH] Update ci workflow --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f2118d..89b29ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,6 @@ -on: - push: - branches-ignore: - - "gh-pages" +name: Node Unit Tests +on: [push, pull_request] +permissions: read-all jobs: build: runs-on: ${{ matrix.os }} @@ -11,9 +10,9 @@ jobs: node: ["18", "20", "22"] name: Node.js ${{ matrix.node }} on ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # 4.0.3 with: node-version: ${{ matrix.node }} # cache: npm