[PM-12775] Add pattern for single input security code input #676
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 API/client files | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: ["main"] | |
paths-ignore: | |
- ".github/workflows/**" | |
push: | |
branches: ["main"] | |
paths-ignore: | |
- ".github/workflows/**" | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Set up Node | |
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | |
with: | |
cache: "npm" | |
cache-dependency-path: "**/package-lock.json" | |
node-version: "20" | |
- name: Clean install dependencies and build | |
env: | |
TEST_WEB_HOST: "${{ secrets.TEST_WEB_HOST || 'https://localhost' }}" | |
run: | | |
npm ci | |
npm run build | |
- name: Upload build as artifact | |
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
if: always() | |
with: | |
name: build-files | |
path: | | |
api/build | |
api/package-lock.json | |
api/package.json | |
client/build | |
client/package-lock.json | |
client/package.json | |
package-lock.json | |
package.json |