@sikka/hawa 0.1.110 → 0.2.0
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,4 +1,4 @@
|
|
|
1
|
-
name: Hawa CI
|
|
1
|
+
name: Hawa CI - @beta
|
|
2
2
|
|
|
3
3
|
env:
|
|
4
4
|
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
run: npm run build:styles
|
|
38
38
|
- name: Generate Tailwind Styles
|
|
39
39
|
run: npm run generate-css
|
|
40
|
-
- name: Publish to NPM
|
|
40
|
+
- name: Publish to NPM @beta tag
|
|
41
41
|
run: npm publish --tag $NPM_PUBLISH_TAG # Specify the tag here
|
|
42
42
|
|
|
43
43
|
deploy-landing:
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: Hawa CI - @latest
|
|
2
|
+
|
|
3
|
+
env:
|
|
4
|
+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
5
|
+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
release:
|
|
9
|
+
types:
|
|
10
|
+
- created
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
publish-package:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
strategy:
|
|
16
|
+
matrix:
|
|
17
|
+
node-version: [16.x]
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v2
|
|
20
|
+
|
|
21
|
+
- name: Use Node.js v16
|
|
22
|
+
uses: actions/setup-node@v2
|
|
23
|
+
with:
|
|
24
|
+
node-version: 16
|
|
25
|
+
registry-url: https://registry.npmjs.org/
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: |
|
|
28
|
+
if [ -e 'package-lock.json' ]; then
|
|
29
|
+
npm ci
|
|
30
|
+
else
|
|
31
|
+
npm install
|
|
32
|
+
fi
|
|
33
|
+
- name: Build Library
|
|
34
|
+
run: npm run build-up
|
|
35
|
+
- name: Build Styles
|
|
36
|
+
run: npm run build:styles
|
|
37
|
+
- name: Generate Tailwind Styles
|
|
38
|
+
run: npm run generate-css
|
|
39
|
+
- name: Publish to NPM main tag
|
|
40
|
+
run: npm publish
|