|
1 | | -# For most projects, this workflow file will not need changing; you simply need |
2 | | -# to commit it to your repository. |
3 | | -# |
4 | | -# You may wish to alter this file to override the set of languages analyzed, |
5 | | -# or to provide custom queries or build logic. |
6 | | -# |
7 | | -# ******** NOTE ******** |
8 | | -# We have attempted to detect the languages in your repository. Please check |
9 | | -# the `language` matrix defined below to confirm you have the correct set of |
10 | | -# supported CodeQL languages. |
11 | | -# |
12 | 1 | name: "CodeQL" |
13 | 2 |
|
14 | 3 | on: |
@@ -47,21 +36,11 @@ jobs: |
47 | 36 | # Prefix the list here with "+" to use these queries and those in the config file. |
48 | 37 | # queries: ./path/to/local/query, your-org/your-repo/queries@main |
49 | 38 |
|
50 | | - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). |
51 | | - # If this step fails, then you should remove it and run the build manually (see below) |
52 | | - - name: Autobuild |
53 | | - uses: github/codeql-action/autobuild@v1 |
54 | | - |
55 | | - # ℹ️ Command-line programs to run using the OS shell. |
56 | | - # 📚 https://git.io/JvXDl |
57 | | - |
58 | | - # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines |
59 | | - # and modify them (or add more) to build your code if your project |
60 | | - # uses a compiled language |
61 | | - |
62 | | - #- run: | |
63 | | - # make bootstrap |
64 | | - # make release |
| 39 | + - uses: actions/setup-node@v1 |
| 40 | + with: |
| 41 | + node-version: 12 |
| 42 | + - run: npm ci |
| 43 | + - run: npm build |
65 | 44 |
|
66 | 45 | - name: Perform CodeQL Analysis |
67 | 46 | uses: github/codeql-action/analyze@v1 |
0 commit comments