feat(ui): Added directory selector for snapshots and filesystem repository #544
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 | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Install Dependencies | |
run: npm install --no-audit | |
- name: License Check | |
run: npx license-checker --summary --onlyAllow "Apache-2.0;MIT;BSD-3-Clause;BSD-2-Clause;ISC;CC0-1.0;MPL-2.0;CC-BY-4.0;ODC-By-1.0;WTFPL;CC-BY-3.0;0BSD;Python-2.0;Unlicense" | |
- name: Audit Dependencies | |
run: npm audit --production | |
- name: Build | |
run: REACT_APP_FULL_VERSION_INFO="$GITHUB_REPOSITORY $GITHUB_SHA built on $(date) $(hostname)" npm run build | |
- name: Test | |
run: npm run test | |
- name: Push Build | |
run: ./push_build.sh | |
env: | |
GITHUB_TOKEN: ${{secrets.PUSH_TOKEN}} |