Handle username change properly #306
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
# ========================================================================== # | |
# Copyright (C) 2023 HCL America Inc. # | |
# Apache-2.0 license https://www.apache.org/licenses/LICENSE-2.0 # | |
# ========================================================================== # | |
name: Run test for a PR | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
build: | |
name: PR preflight check | |
runs-on: ubuntu-latest | |
env: | |
REACT_APP_ADMIN_UI_BUILD_VERSION: ${{ github.run_number }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
registry-url: 'https://registry.npmjs.org' | |
- run: npm ci | |
- run: npm run build | |
- run: npm run test |