File tree Expand file tree Collapse file tree 1 file changed +6
-27
lines changed Expand file tree Collapse file tree 1 file changed +6
-27
lines changed Original file line number Diff line number Diff line change @@ -33,35 +33,14 @@ jobs:
33
33
env :
34
34
skipDeployment : false
35
35
steps :
36
- - name : Checkout repository
37
- uses : actions/checkout@v4
38
-
39
- - name : Set up Node.js
40
- uses : actions/setup-node@v4
36
+ - name : NPM Release
37
+ id : npm_release
38
+ uses : it-at-m/.github/.github/actions/action-create-npm-release@84-npm-docker-image-release
41
39
with :
42
- node-version : " 22"
40
+ app-path : ${{inputs.app-path}}
41
+ releaseVersion : ${{inputs.releaseVersion}}
43
42
44
-
45
- - id : node-release
46
- name : Bump version and create git tag
47
- working-directory : ./${{inputs.app-path}}
48
- run : |
49
- NEW_VERSION=$(npm version ${{inputs.releaseVersion}}) || exit 1
50
- echo "VERSION=$NEW_VERSION" >> "$GITHUB_OUTPUT"
51
- git config --global user.email "[email protected] "
52
- git config --global user.name "GitHub Actions"
53
- git add package.json package-lock.json
54
- git commit -m "Bump version to ${NEW_VERSION}" || exit 1
55
- git tag "${NEW_VERSION}" || exit 1
56
- git push && git push --tags || exit 1
57
- - id : node
58
- uses : it-at-m/.github/.github/actions/action-npm-build@main
59
- with :
60
- app-path : " ${{ inputs.app-path }}"
61
- - if : " ${{ !env.skipDeployment }}"
62
- run : npm publish # publish
63
- env :
64
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }} # in der GitHub it-at-m Orga zentral hinterlegter Token
43
+
65
44
build-image :
66
45
runs-on : ubuntu-latest
67
46
needs : release
You can’t perform that action at this time.
0 commit comments