Add config files to Bluehawk #123
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: Test docs deployment | |
on: | |
# runs on PR to main branch | |
push: | |
branches: ["!main"] | |
pull_request: | |
branches: [main] | |
jobs: | |
test-deploy: | |
name: Test deployment | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 20.x | |
cache: npm | |
- name: Install Bluehawk dependencies | |
run: | | |
npm ci | |
- name: Test build | |
working-directory: docs | |
run: | | |
npm ci | |
npm run build |