@protacon/muster-booking-frontend 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15,10 +15,10 @@ jobs:
|
|
|
15
15
|
|
|
16
16
|
steps:
|
|
17
17
|
- name: Make checkout
|
|
18
|
-
uses: actions/checkout@
|
|
18
|
+
uses: actions/checkout@v6
|
|
19
19
|
|
|
20
20
|
- name: Login to ACR
|
|
21
|
-
uses: docker/login-action@
|
|
21
|
+
uses: docker/login-action@v4
|
|
22
22
|
with:
|
|
23
23
|
registry: ${{ secrets.REGISTRY_LOGIN_SERVER }}
|
|
24
24
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
@@ -9,26 +9,27 @@ jobs:
|
|
|
9
9
|
Build:
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
steps:
|
|
12
|
-
- uses: actions/checkout@
|
|
13
|
-
- uses: actions/setup-node@
|
|
12
|
+
- uses: actions/checkout@v6
|
|
13
|
+
- uses: actions/setup-node@v6
|
|
14
14
|
with:
|
|
15
|
-
node-version: "
|
|
16
|
-
- run: npm
|
|
15
|
+
node-version: "24"
|
|
16
|
+
- run: npm ci
|
|
17
17
|
- run: npm run build
|
|
18
18
|
Lint:
|
|
19
19
|
runs-on: ubuntu-latest
|
|
20
20
|
steps:
|
|
21
|
-
- uses: actions/checkout@
|
|
22
|
-
- uses: actions/setup-node@
|
|
21
|
+
- uses: actions/checkout@v6
|
|
22
|
+
- uses: actions/setup-node@v6
|
|
23
23
|
with:
|
|
24
|
-
node-version: "
|
|
25
|
-
- run: npm
|
|
24
|
+
node-version: "24"
|
|
25
|
+
- run: npm ci
|
|
26
26
|
- run: npm run lint
|
|
27
27
|
Format:
|
|
28
28
|
runs-on: ubuntu-latest
|
|
29
29
|
steps:
|
|
30
|
-
- uses: actions/checkout@
|
|
31
|
-
- uses: actions/setup-node@
|
|
30
|
+
- uses: actions/checkout@v6
|
|
31
|
+
- uses: actions/setup-node@v6
|
|
32
32
|
with:
|
|
33
|
-
node-version: "
|
|
33
|
+
node-version: "24"
|
|
34
|
+
- run: npm ci
|
|
34
35
|
- run: npm run prettier
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Publish Package to npmjs
|
|
2
|
+
on:
|
|
3
|
+
release:
|
|
4
|
+
types: [published]
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
id-token: write
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v6
|
|
13
|
+
# Setup .npmrc file to publish to npm
|
|
14
|
+
- uses: actions/setup-node@v6
|
|
15
|
+
with:
|
|
16
|
+
node-version: "24"
|
|
17
|
+
registry-url: "https://registry.npmjs.org"
|
|
18
|
+
package-manager-cache: false
|
|
19
|
+
- name: Determine version
|
|
20
|
+
id: get_version
|
|
21
|
+
shell: bash
|
|
22
|
+
run: |
|
|
23
|
+
TAG="${GITHUB_REF#refs/tags/}"
|
|
24
|
+
TAG="${TAG#v}"
|
|
25
|
+
echo "version=$TAG" >> $GITHUB_OUTPUT
|
|
26
|
+
- name: Set version
|
|
27
|
+
run: npm pkg set version=${{ steps.get_version.outputs.version }}
|
|
28
|
+
- run: npm ci
|
|
29
|
+
- run: npm run build
|
|
30
|
+
- name: Publish to npm
|
|
31
|
+
run: |
|
|
32
|
+
if [ "${{ github.event.release.prerelease }}" = "true" ]; then
|
|
33
|
+
npm publish --tag next
|
|
34
|
+
else
|
|
35
|
+
npm publish
|
|
36
|
+
fi
|