@@ -13,10 +13,10 @@ name: "CodeQL"
1313
1414on :
1515 push :
16- branches : [ master, develop ]
16+ branches : [ master, develop, next/* ]
1717 pull_request :
1818 # The branches below must be a subset of the branches above
19- branches : [ master, develop ]
19+ branches : [ master, develop, next/* ]
2020 schedule :
2121 - cron : ' 35 18 1 * *'
2222
@@ -43,23 +43,23 @@ jobs:
4343
4444 # Initializes the CodeQL tools for scanning.
4545 - name : Initialize CodeQL
46- uses : github/codeql-action/init@v1
46+ uses : github/codeql-action/init@v3
4747 with :
4848 languages : ${{ matrix.language }}
4949 # If you wish to specify custom queries, you can do so here or in a config file.
5050 # By default, queries listed here will override any specified in a config file.
5151 # Prefix the list here with "+" to use these queries and those in the config file.
5252 # queries: ./path/to/local/query, your-org/your-repo/queries@main
5353 - name : Cache node modules (if needed)
54- uses : actions/cache@v2
54+ uses : actions/cache@v4
5555 id : cache
5656 with :
5757 path : node_modules
5858 key : ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('yarn.lock') }}
5959 - name : Install package (if needed)
6060 if : steps.cache.outputs.cache-hit != 'true'
61- run : yarn install
61+ run : npm install -g yarn@berry && yarn install
6262 - name : Build TypeScript
6363 run : yarn build
6464 - name : Perform CodeQL Analysis
65- uses : github/codeql-action/analyze@v1
65+ uses : github/codeql-action/analyze@v3
0 commit comments