-
Notifications
You must be signed in to change notification settings - Fork 379
46 lines (40 loc) · 1.32 KB
/
Copy pathtest.yml
File metadata and controls
46 lines (40 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Test
on:
pull_request:
branches: ["main"]
jobs:
vulnerability-automation:
name: Vulnerability automation
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Test reconciliation behavior
run: .github/scripts/test-vulnerability-triage.sh
- name: Test CVE remediation discovery
run: .github/scripts/test-cve-remediation.sh
- name: Test Zoekt sync automation
run: .github/scripts/testZoektSync.sh
- name: Test entrypoint install ID behavior
run: .github/scripts/test-entrypoint-install-id.sh
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: "true"
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install
run: yarn install --frozen-lockfile
- name: Test
# The CLI has separate packed-artifact and Node-compatibility gates in setup-wizard-e2e.
# Keep the application workspaces on their existing runtime here.
run: yarn workspaces foreach --all --topological --exclude setup-sourcebot --exclude 'root-workspace-*' run test