fulldev-ui 0.4.18 → 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.
- package/.github/workflows/github-releases-to-npm.yml +21 -20
- package/package.json +1 -1
- package/pnpm-lock.yaml +0 -5510
|
@@ -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 '
|
|
16
|
-
git config user.email '
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
|
|
20
|
-
run: |
|
|
21
|
-
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
|
|
22
|
-
# Setup .npmrc file to publish to npm
|
|
23
|
-
- uses: actions/setup-node@v4
|
|
24
|
-
with:
|
|
25
|
-
node-version: "20.x"
|
|
26
|
-
registry-url: "https://registry.npmjs.org"
|
|
27
|
-
- name: Set and push version from release tag
|
|
28
|
-
run: |
|
|
29
|
-
git checkout -b main
|
|
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
|
+
|
|
30
23
|
VERSION=${GITHUB_REF#refs/tags/v}
|
|
31
24
|
npm version $VERSION --no-git-tag-version
|
|
32
|
-
git add .
|
|
33
|
-
git commit -m "Bump to $VERSION"
|
|
34
|
-
git push
|
|
35
|
-
|
|
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
|
|
31
|
+
with:
|
|
32
|
+
node-version: '20.x'
|
|
33
|
+
registry-url: 'https://registry.npmjs.org'
|
|
34
|
+
|
|
35
|
+
- name: Publish to npm
|
|
36
|
+
run: npm publish --access public
|
|
36
37
|
env:
|
|
37
38
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|