rhine-var 0.9.13 → 0.9.15

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.
@@ -10,6 +10,7 @@ on:
10
10
  jobs:
11
11
 
12
12
  Version:
13
+ name: Analysis Version
13
14
  runs-on: ubuntu-latest
14
15
  outputs:
15
16
  version_changed: ${{ steps.detect.outputs.version_changed }}
@@ -38,6 +39,7 @@ jobs:
38
39
  fi
39
40
 
40
41
  Release:
42
+ name: Release and Tag
41
43
  needs: Version
42
44
  if: ${{ needs.Version.outputs.version_changed == 'true' }}
43
45
  runs-on: ubuntu-latest
@@ -58,6 +60,7 @@ jobs:
58
60
 
59
61
 
60
62
  Publish:
63
+ name: Publish to NPM
61
64
  needs: Version
62
65
  if: ${{ needs.Version.outputs.version_changed == 'true' }}
63
66
  runs-on: ubuntu-latest
@@ -86,3 +89,37 @@ jobs:
86
89
  run: npm publish
87
90
  env:
88
91
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
92
+
93
+ Packages:
94
+ name: Publish to GitHub Packages
95
+ needs: Version
96
+ if: ${{ needs.Version.outputs.version_changed == 'true' }}
97
+ runs-on: ubuntu-latest
98
+ permissions:
99
+ contents: read
100
+ packages: write
101
+ steps:
102
+
103
+ - name: Checkout Code
104
+ uses: actions/checkout@v4
105
+
106
+ - name: Setup Node.js Environment
107
+ uses: actions/setup-node@v4
108
+ with:
109
+ node-version: "20"
110
+ registry-url: https://npm.pkg.github.com/
111
+ cache: "yarn"
112
+
113
+ - name: Install Dependencies
114
+ run: yarn install --frozen-lockfile
115
+
116
+ - name: Run Unit Tests
117
+ run: yarn test
118
+
119
+ - name: Build Project
120
+ run: yarn build
121
+
122
+ - name: Publish to NPM
123
+ run: npm publish
124
+ env:
125
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rhine-var",
3
- "version": "0.9.13",
3
+ "version": "0.9.15",
4
4
  "description": "Variables that support multi-user collaboration and persistence, making collaboration and variable operations as simple as possible, with strict and well-defined type hints.",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",