OSDN Git Service

fix electronegativity corepack
[commentgenerator-electron/CommentGenerator-Electron.git] / .github / workflows / electronegativity.yml
1 name: Electronegativity
2
3 on: 
4   push:
5     
6 jobs:
7   build_job:
8     runs-on: ubuntu-latest
9     steps:
10       - uses: actions/checkout@v2
11       
12       - uses: actions/setup-node@v2
13         with:
14           node-version: '14'
15
16       - name: Install corepack
17         run: |
18           npm uninstall -g yarn pnpm
19           npm install -g corepack
20
21       - name: yarn v3
22         run: |
23           yarn
24
25       - uses: doyensec/electronegativity-action@v1.1
26
27       - name: Upload sarif
28         uses: github/codeql-action/upload-sarif@v1
29         with:
30           sarif_file: ../results