Skip to content

Feature/wf 2024 florian #1

Feature/wf 2024 florian

Feature/wf 2024 florian #1

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Pull Request Prerequisite Checks
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://repo.backbase.com/api/npm/npm-backbase/"
scope: "@backbase"
- name: Install deps
run: npm install --legacy-peer-deps
shell: bash
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build app
run: npm run build