File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,15 +15,26 @@ jobs:
1515
1616 strategy :
1717 matrix :
18- node-version : [15 .x]
18+ node-version : [22 .x]
1919 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2020
2121 steps :
22- - uses : actions/checkout@v2
22+ - name : Checkout repository
23+ uses : actions/checkout@v4
2324 - name : Use Node.js ${{ matrix.node-version }}
24- uses : actions/setup-node@v1
25+ uses : actions/setup-node@v4
2526 with :
2627 node-version : ${{ matrix.node-version }}
27- - run : npm ci
28- # - run: npm run build --if-present
29- - run : npm test --if-present
28+ - name : Cache Node.js modules
29+ uses : actions/cache@v4
30+ with :
31+ path : ~/.npm
32+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
33+ restore-keys : |
34+ ${{ runner.os }}-node-
35+ - name : Check installs
36+ run : npm ci
37+ - name : Quality check - prettier
38+ run : npm run prettier:check
39+ - name : Quality check - eslint
40+ run : npm run eslint:check
Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ jobs:
3333
3434 steps :
3535 - name : Checkout repository
36- uses : actions/checkout@v2
36+ uses : actions/checkout@v4
3737
3838 # Initializes the CodeQL tools for scanning.
3939 - name : Initialize CodeQL
40- uses : github/codeql-action/init@v2
40+ uses : github/codeql-action/init@v3
4141 with :
4242 languages : ${{ matrix.language }}
4343 # If you wish to specify custom queries, you can do so here or in a config file.
4848 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4949 # If this step fails, then you should remove it and run the build manually (see below)
5050 - name : Autobuild
51- uses : github/codeql-action/autobuild@v2
51+ uses : github/codeql-action/autobuild@v3
5252
5353 # ℹ️ Command-line programs to run using the OS shell.
5454 # 📚 https://git.io/JvXDl
6262 # make release
6363
6464 - name : Perform CodeQL Analysis
65- uses : github/codeql-action/analyze@v2
65+ uses : github/codeql-action/analyze@v3
Original file line number Diff line number Diff line change 2525
2626 steps :
2727 - name : Checkout repository
28- uses : actions/checkout@v3
28+ uses : actions/checkout@v4
2929
3030 # Ensure a compatible version of dotnet is installed.
3131 # The [Microsoft Security Code Analysis CLI](https://aka.ms/mscadocs) is built with dotnet v3.1.201.
4343
4444 # Upload results to the Security tab
4545 - name : Upload OSSAR results
46- uses : github/codeql-action/upload-sarif@v2
46+ uses : github/codeql-action/upload-sarif@v3
4747 with :
4848 sarif_file : ${{ steps.ossar.outputs.sarifFile }}
You can’t perform that action at this time.
0 commit comments