Skip to content

Commit aeb371b

Browse files
committed
Tag
1 parent f5fe1c6 commit aeb371b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/main-fe.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,22 @@ jobs:
3535
with:
3636
node-version: 20.x
3737

38+
39+
- name: 🔎 Identify Commit Hash
40+
id: commit
41+
uses: prompt/actions-commit-hash@v3
42+
43+
- name: 🔎 Identify version
44+
id: get_version
45+
uses: battila7/get-version-action@v2
46+
47+
- name: 🦸 change version in NPM
48+
uses: reedyuk/npm-version@1.2.2
49+
with:
50+
version: ${{ steps.get_version.outputs.version-without-v }}-${{ steps.commit.outputs.short }}
51+
package: "frontend/"
52+
git-tag-version: "false"
53+
3854
- name: 📦 Build Site
3955
run: cd frontend && npm ci && npm run build:ion
4056

0 commit comments

Comments
 (0)