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
- - name: Configure Git
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
- - name: Authenticate with Git
18
- env:
19
- GITHUB_TOKEN: ${{ secrets.BOT_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
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
- - name: Set and push version from release tag
28
- run: |
29
- git checkout -b main
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 }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fulldev-ui",
3
- "version": "0.4.24",
3
+ "version": "0.4.25",
4
4
  "description": "A component library built for Astro",
5
5
  "homepage": "https://ui.full.dev",
6
6
  "bugs": "https://github.com/fulldotdev/ui/issues",