Issue 964 #1819
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 application | |
on: | |
workflow_dispatch: | |
pull_request: | |
permissions: | |
contents: read | |
# This allows a subsequently queued workflow run to interrupt previous runs | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | |
- name: Setup node | |
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b | |
with: | |
node-version-file: '.node-version' | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Build application | |
run: npm run build | |
env: | |
# Auth0 authentication parameters with nonsensical sample values | |
SERVER_PORT: 8080 | |
CLIENT_ORIGIN_URL: http://localhost:8080 | |
AUTH0_AUDIENCE: your_Auth0_identifier_value | |
AUTH0_DOMAIN: your_Auth0_domain |