Skip to content

Commit

Permalink
setup node
Browse files Browse the repository at this point in the history
  • Loading branch information
glucaci committed Apr 22, 2024
1 parent 1a05df7 commit c313b46
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ jobs:
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
- name: setup Node.js
uses: actions/setup-node@v4
with:
check-latest: true
node-version-file: 'src/UI/package.json'
cache: 'yarn'
cache-dependency-path: 'src/UI/yarn.lock'
- name: Build, Test and Sonar
uses: swisslife-oss/actions/pull-request@main
with:
Expand All @@ -23,3 +30,16 @@ jobs:
pr_target_branch: ${{ github.base_ref }}
github_repository: ${{ github.repository }}
sonar_exclusions: ${{ vars.SONAR_EXCLUSIONS }}

ui:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: setup Node.js
uses: actions/setup-node@v4
with:
check-latest: true
node-version-file: 'src/UI/package.json'
cache: 'yarn'
cache-dependency-path: 'src/UI/yarn.lock'

0 comments on commit c313b46

Please sign in to comment.