Skip to content

Commit 0ed8966

Browse files
authored
1 parent 2bfedb9 commit 0ed8966

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

.github/workflows/codeql.yml

+1-27
Original file line numberDiff line numberDiff line change
@@ -28,38 +28,12 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
language: ['javascript']
32-
node-version: [18]
31+
language: ['javascript-typescript']
3332

3433
steps:
3534
- name: Checkout repository
3635
uses: actions/checkout@v4
3736

38-
- name: Setup Node.js ${{ matrix.node-version }}
39-
uses: actions/setup-node@v4
40-
with:
41-
node-version: ${{ matrix.node-version }}
42-
43-
- name: Get npm cache directory
44-
id: npm-cache-dir
45-
run: |
46-
echo "::set-output name=dir::$(npm config get cache)"
47-
48-
- name: Cache npm cache
49-
uses: actions/cache@v4
50-
id: npm-cache
51-
with:
52-
path: ${{ steps.npm-cache-dir.outputs.dir }}
53-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
54-
restore-keys: |
55-
${{ runner.os }}-node-
56-
57-
- name: Install latest npm
58-
run: npm install --global npm@latest
59-
60-
- name: Install dependencies
61-
run: npm ci
62-
6337
- name: Initialize CodeQL
6438
uses: github/codeql-action/init@v3
6539
with:

0 commit comments

Comments
 (0)