Add an integration test for packaging

Uses two pre-existing packages to run some simple queries on a javascript
database.
This commit is contained in:
Andrew Eisenberg 2021-06-08 10:24:08 -07:00
parent 1cc5f1d5dd
commit d42f654f7a
8 changed files with 78 additions and 9 deletions

View file

@ -0,0 +1,10 @@
name: Pack testing in the CodeQL Action
disable-default-queries: true
packs:
javascript:
- dsp-testing/codeql-pack1@0.0.3
- dsp-testing/codeql-pack2 # latest
paths-ignore:
- tests
- lib

View file

@ -1,3 +1,12 @@
if (true) {
console.log("Hello, World!");
console.log("Good-bye, World!");
}
if (true) {
console.log("Hello, World!");
}
if (true) {
// empty
}