File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 44
44
- name : Checkout repository
45
45
uses : actions/checkout@v3
46
46
47
+ - name : Use Node.js v18.x
48
+ if : matrix.language == 'cpp'
49
+ uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
50
+ with :
51
+ node-version : 18.x
52
+
53
+ - name : Use Node.js v18.x
54
+ if : matrix.language == 'cpp'
55
+ run : |
56
+ npm ci
57
+ npm run build
58
+
47
59
# Initializes the CodeQL tools for scanning.
48
60
- name : Initialize CodeQL
49
61
uses : github/codeql-action/init@v2
@@ -64,17 +76,10 @@ jobs:
64
76
- '**/*.test.tsx'
65
77
- '**/*.spec.tsx'
66
78
67
- - name : Use Node.js v18.x
68
- if : matrix.language == 'cpp'
69
- uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
70
- with :
71
- node-version : 18.x
72
-
73
79
- name : Build cpp
74
80
if : matrix.language == 'cpp'
75
81
run : |
76
- npx node-gyp rebuild
77
-
82
+ node bin/boxednode.js -s test/resources/example.js -t example
78
83
79
84
- name : Perform CodeQL Analysis
80
85
uses : github/codeql-action/analyze@v2
You can’t perform that action at this time.
0 commit comments