From c865f7911378f895c392aef470edb82332266b6f Mon Sep 17 00:00:00 2001 From: Brian Ingenito <28159742+bingenito@users.noreply.github.com> Date: Wed, 2 Oct 2024 06:41:52 -0400 Subject: [PATCH] Pin test-typescript.yml action dependencies --- .github/workflows/test-typescript.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-typescript.yml b/.github/workflows/test-typescript.yml index e8a837e..b339410 100644 --- a/.github/workflows/test-typescript.yml +++ b/.github/workflows/test-typescript.yml @@ -7,6 +7,9 @@ on: branches: [ main ] workflow_dispatch: +permissions: + contents: read + jobs: build: @@ -17,12 +20,12 @@ jobs: typescript-version: [4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 5.0] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 - name: Use Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6 with: node-version: 16.x - run: npm ci - run: npm run build - run: npm install typescript@${{ matrix.typescript-version }} - - run: npm run test \ No newline at end of file + - run: npm run test