fulldev-ui 0.4.24 → 0.4.25
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.
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
name: Publish Package to npmjs
|
|
2
|
+
|
|
2
3
|
on:
|
|
3
4
|
release:
|
|
4
5
|
types: [published]
|
|
6
|
+
|
|
5
7
|
jobs:
|
|
6
8
|
build:
|
|
7
9
|
runs-on: ubuntu-latest
|
|
8
10
|
permissions:
|
|
9
11
|
contents: write
|
|
10
12
|
id-token: write
|
|
13
|
+
|
|
11
14
|
steps:
|
|
12
15
|
- uses: actions/checkout@v4
|
|
13
|
-
|
|
16
|
+
|
|
17
|
+
- name: Configure Git and Bump Version
|
|
14
18
|
run: |
|
|
15
|
-
git config user.name 'fulldev-bot'
|
|
16
|
-
git config user.email 'bot@full.dev'
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
git
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
git config --global user.name 'fulldev-bot'
|
|
20
|
+
git config --global user.email 'bot@full.dev'
|
|
21
|
+
git remote set-url origin https://x-access-token:${{ secrets.BOT_TOKEN }}@github.com/${{ github.repository }}.git
|
|
22
|
+
|
|
23
|
+
VERSION=${GITHUB_REF#refs/tags/v}
|
|
24
|
+
npm version $VERSION --no-git-tag-version
|
|
25
|
+
git add package.json
|
|
26
|
+
git commit -m "Bump to version $VERSION"
|
|
27
|
+
git push origin HEAD:main
|
|
28
|
+
|
|
29
|
+
- name: Set up Node.js
|
|
30
|
+
uses: actions/setup-node@v4
|
|
24
31
|
with:
|
|
25
32
|
node-version: '20.x'
|
|
26
33
|
registry-url: 'https://registry.npmjs.org'
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
VERSION=${GITHUB_REF#refs/tags/v}
|
|
31
|
-
npm version $VERSION --no-git-tag-version
|
|
32
|
-
git add .
|
|
33
|
-
git commit -m "Bump to $VERSION"
|
|
34
|
-
git push --set-upstream origin main
|
|
35
|
-
- run: npm publish --provenance --access public
|
|
34
|
+
|
|
35
|
+
- name: Publish to npm
|
|
36
|
+
run: npm publish --access public
|
|
36
37
|
env:
|
|
37
38
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|