change lockfike #722
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: Pull request verify workflow | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the default(master) branch | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
types: [opened, labeled, synchronize, ready_for_review] | |
jobs: | |
checks: | |
runs-on: macos-latest | |
env: | |
# dont treat warning as error | |
CI: false | |
strategy: | |
matrix: | |
node-version: [16.20.x] | |
steps: | |
- name: Install sha256sum | |
run: brew install coreutils | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Pull bfx-hf-ui-core | |
run: npm run fetch-core | |
- name: Install | |
run: npm install | |
- name: Build for linux/mac/windows | |
run: npm run build-all | |
- name: Results | |
run: ls -l dist | |
- name: Upload builds | |
uses: actions/upload-artifact@v3 | |
with: | |
name: artifacts | |
retention-days: 1 | |
path: | | |
dist/*-linux.AppImage | |
dist/*.exe | |
dist/*-mac.zip | |
- name: Annotate Checks | |
uses: tarcisiozf/ci-checks-action@master | |
with: | |
ghToken: ${{ secrets.GITHUB_TOKEN }} | |
checks: '[ | |
{ | |
"name": "build", | |
"fileName": ".build-report.json", | |
"prChangesOnly": true | |
}, | |
{ | |
"name": "lint", | |
"fileName": ".lint-report.json", | |
"prChangesOnly": true | |
} | |
]' |