generated from it-at-m/oss-repository-en-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix npm error in mr of pipeline (#263)
* Release Notes Version 1.4.0 * Remove workaround PR error in pipeline * Generate package-lock.json * Generate package-lock.json mit Node Version 20 * Update Vitepress auf 1.3.3 in docs/package.json * Update .github\workflows\build.yaml Node Version 18 -> 20 * Update Worflows Actions von @V3 -> @v4 * Node:20 to Node:latest changed * Trial bugfix GitHub error * Vite dependency aufgenommen * package-lock.json gelöscht * install -> ci * fix package lock (#264) * Update build.yaml * Update build.yaml * Update package-lock.json * Update build.yaml * Update package-lock.json * Update package-lock.json * Add files via upload package-lock.json wieder hinzugefügt * New package-lock.json generated --------- Co-authored-by: albrecht.schaenzel <[email protected]> Co-authored-by: tiago.kocevar <[email protected]> Co-authored-by: Hans <[email protected]>
- Loading branch information
1 parent
69ba49a
commit 8d6713f
Showing
9 changed files
with
18,305 additions
and
817 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,30 @@ | ||
name: build and test | ||
|
||
# on: [push] | ||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
inputs: | ||
docs: | ||
description: "Release docs" | ||
type: boolean | ||
required: true | ||
default: true | ||
on: [push] | ||
|
||
jobs: | ||
build-test-npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "18" | ||
node-version: "20" | ||
- name: Execute npm install, test, build | ||
working-directory: frontend | ||
run: | | ||
npm install | ||
npm ci | ||
npm run build --if-present | ||
npm run test:unit | ||
- name: Check with eslint | ||
run: | | ||
npm install | ||
npm run check | ||
- name: Archive npm artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: npm-artifacts | ||
path: | | ||
|
@@ -45,15 +36,15 @@ jobs: | |
needs: build-test-npm | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download npm articats | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: npm-artifacts | ||
|
||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: "17" | ||
distribution: "temurin" | ||
|
@@ -69,7 +60,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Advance Security Policy as Code | ||
uses: advanced-security/[email protected] | ||
|
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
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
Oops, something went wrong.