Skip to content

Commit 4d672b0

Browse files
committed
Some updates
1 parent a0239fe commit 4d672b0

File tree

2 files changed

+6
-26
lines changed

2 files changed

+6
-26
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
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-
#
121
name: "CodeQL"
132

143
on:
@@ -47,21 +36,11 @@ jobs:
4736
# Prefix the list here with "+" to use these queries and those in the config file.
4837
# queries: ./path/to/local/query, your-org/your-repo/queries@main
4938

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
6544

6645
- name: Perform CodeQL Analysis
6746
uses: github/codeql-action/analyze@v1

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"types": "lib/index.ts.d",
1818
"main": "lib/index.js",
1919
"scripts": {
20+
"build": "tsc",
2021
"prepack": "tsc",
2122
"test": "tsc && node lib/tests.js"
2223
},

0 commit comments

Comments
 (0)