Skip to content

Update unit-tests.yml #29

Update unit-tests.yml

Update unit-tests.yml #29

Workflow file for this run

name: Build application
on:
workflow_dispatch:
pull_request:
#permissions:
# contents: read
# id-token: write
# 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
name: Vault-gtihub integration
permissions:
contents: read
id-token: write
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