@egov3/system-design 1.0.10 → 1.0.12

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.
@@ -11,6 +11,7 @@ jobs:
11
11
 
12
12
  permissions:
13
13
  contents: write
14
+ packages: write
14
15
 
15
16
  steps:
16
17
  - name: Checkout code
@@ -26,8 +27,7 @@ jobs:
26
27
  run: yarn install
27
28
 
28
29
  - name: Increment version
29
- run: |
30
- yarn version --patch --no-git-tag-version
30
+ run: yarn version --patch --no-git-tag-version
31
31
 
32
32
  - name: Check PERSONAL_TOKEN
33
33
  run: |
@@ -52,7 +52,9 @@ jobs:
52
52
  - name: Publish to npm
53
53
  env:
54
54
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
55
- run: |
56
- if [ "$(jq -r '.private' package.json)" != "true" ]; then
57
- yarn publish --non-interactive --access public
58
- fi
55
+ run: yarn publish --non-interactive --access public
56
+
57
+ - name: Publish to GitHub Packages
58
+ env:
59
+ NODE_AUTH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
60
+ run: yarn publish --non-interactive --registry https://npm.pkg.github.com
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egov3/system-design",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "type": "module",
5
5
  "main": "index.tsx",
6
6
  "private": false,