@sikka/hawa 0.1.69 → 0.1.71

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.
@@ -5,7 +5,7 @@ env:
5
5
  on:
6
6
  push:
7
7
  branches:
8
- - main
8
+ - 1main
9
9
  jobs:
10
10
  Deploy-Production:
11
11
  runs-on: ubuntu-latest
@@ -16,6 +16,6 @@ jobs:
16
16
  - name: Pull Vercel Environment Information
17
17
  run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
18
18
  - name: Build Project Artifacts
19
- run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
19
+ run: cd landing && vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
20
20
  - name: Deploy Project Artifacts to Vercel
21
21
  run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
@@ -1,5 +1,11 @@
1
1
  name: Hawa Build and Publish on Push
2
2
 
3
+ env:
4
+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
5
+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
6
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
7
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
8
+
3
9
  on:
4
10
  push:
5
11
  branches: [main]
@@ -20,10 +26,7 @@ jobs:
20
26
  else
21
27
  npm install
22
28
  fi
23
- env:
24
- GH_TOKEN: ${{ secrets.GH_TOKEN }}
25
29
 
26
- # Publishing to NPM
27
30
  publish:
28
31
  needs: build
29
32
  runs-on: ubuntu-latest
@@ -49,5 +52,18 @@ jobs:
49
52
  run: npm run generate-css
50
53
  - name: Publish to NPM
51
54
  run: npm publish
52
- env:
53
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
55
+
56
+ deploy:
57
+ runs-on: ubuntu-latest
58
+ steps:
59
+ - uses: actions/checkout@v2
60
+ - name: Change working directory to ./landing
61
+ run: cd ./landing
62
+ - name: Install Vercel CLI
63
+ run: npm install --global vercel@latest
64
+ - name: Pull Vercel Environment Information
65
+ run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
66
+ - name: Build Project Artifacts
67
+ run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
68
+ - name: Deploy Project Artifacts to Vercel
69
+ run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.1.69",
3
+ "version": "0.1.71",
4
4
  "description": "Modern UI Kit made with Tailwind & Radix Primitives",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",