Skip to content

Commit

Permalink
Hotfix npm error in mr of pipeline (#263)
Browse files Browse the repository at this point in the history
* 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 <albrecht.schaenzel@muenchen.de>
Co-authored-by: tiago.kocevar <tiago.kocevar@muenchen.de>
Co-authored-by: Hans <11695964+hupling@users.noreply.github.com>
  • Loading branch information
4 people authored Sep 3, 2024
1 parent 69ba49a commit 8d6713f
Show file tree
Hide file tree
Showing 9 changed files with 18,305 additions and 817 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/build.yaml
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: |
Expand All @@ -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"
Expand All @@ -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/policy-as-code@v2.4.1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "16"
cache: "npm"
Expand All @@ -39,7 +39,7 @@ jobs:
working-directory: ./docs

- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/dist
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ nbdist/

# Sonstiges
$(pwd)
package-lock.json

# do not check in application profile yml
apigateway/**/application-*.yml
Expand Down
Loading

0 comments on commit 8d6713f

Please sign in to comment.