Skip to content

Commit

Permalink
Pin test-typescript.yml action dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bingenito authored Oct 2, 2024
1 parent 8c69f06 commit c865f79
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
branches: [ main ]
workflow_dispatch:

permissions:
contents: read

jobs:
build:

Expand All @@ -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
- run: npm run test

0 comments on commit c865f79

Please sign in to comment.