APS-9: Render ATT&CK Markdown and Citations #107
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Extensions | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '17' | |
- name: Install Build Dependencies | |
run: npm ci | |
- name: Run Unit Tests | |
run: npm run test | |
- name: Upload Coverage to CodeCov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_SECRET }} | |
files: coverage/coverage-final.json | |
verbose: true | |
- name: Fetch ATT&CK STIX Data | |
run: npm run fetch-attack | |
- name: Build Search Index | |
run: npm run build-index | |
- name: Build Svelte Application | |
run: npm run build | |
- name: Build Chrome extension | |
run: make chrome-ext | |
- name: Package Chrome Extension | |
uses: actions/upload-artifact@v3 | |
with: | |
name: attack-powered-suit-chrome | |
path: browsers/chrome/ | |
- name: Build Firefox extension | |
run: make firefox-ext | |
- name: Package Chrome Extension | |
uses: actions/upload-artifact@v3 | |
with: | |
name: attack-powered-suit-firefox | |
path: browsers/firefox/ |