kokio-sdk 0.1.0 → 0.1.1
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.
|
@@ -18,8 +18,8 @@ jobs:
|
|
|
18
18
|
|
|
19
19
|
- uses: actions/setup-node@v4
|
|
20
20
|
with:
|
|
21
|
-
node-version:
|
|
22
|
-
registry-url: https://registry.npmjs.org/
|
|
21
|
+
node-version: 24
|
|
22
|
+
registry-url: 'https://registry.npmjs.org/'
|
|
23
23
|
|
|
24
24
|
- name: Get version from package.json
|
|
25
25
|
id: pkg
|
|
@@ -27,17 +27,17 @@ jobs:
|
|
|
27
27
|
VERSION=$(node -p "require('./package.json').version")
|
|
28
28
|
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
|
29
29
|
|
|
30
|
-
- name: Create Git tag
|
|
31
|
-
run: |
|
|
32
|
-
git tag v${{ steps.pkg.outputs.version }}
|
|
33
|
-
git push origin v${{ steps.pkg.outputs.version }}
|
|
34
|
-
|
|
35
30
|
- name: Install deps (also runs postinstall)
|
|
36
|
-
run: npm install
|
|
31
|
+
run: npm install -g npm@latest
|
|
37
32
|
|
|
38
33
|
- name: Publish to npm
|
|
39
34
|
run: npm publish --access public
|
|
40
35
|
|
|
36
|
+
- name: Create Git tag
|
|
37
|
+
run: |
|
|
38
|
+
git tag v${{ steps.pkg.outputs.version }}
|
|
39
|
+
git push origin v${{ steps.pkg.outputs.version }}
|
|
40
|
+
|
|
41
41
|
- name: Create GitHub Release
|
|
42
42
|
uses: softprops/action-gh-release@v2
|
|
43
43
|
with:
|