@digitalocean/dots 1.0.2 → 1.0.3

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.
@@ -21,11 +21,28 @@ jobs:
21
21
  - name: Install dependencies
22
22
  run: npm ci
23
23
 
24
- - name: Compile TypeScript Files
25
- run: tsc
26
-
27
- - name: Run tests
28
- run: make test-mocked
24
+ - name: Build package
25
+ run: npm run build
26
+
27
+ - name: Verify package contents
28
+ run: |
29
+ echo "Verifying package structure..."
30
+ ls -la src/dots/
31
+ echo "Checking for main entry point..."
32
+ test -f src/dots/digitalOceanClient.ts || (echo "Main entry point not found" && exit 1)
33
+ echo "Package verification complete"
34
+
35
+ - name: Create package
36
+ run: |
37
+ echo "Creating npm package..."
38
+ npm pack
39
+ ls -la *.tgz
40
+
41
+ - name: Upload package artifact
42
+ uses: actions/upload-artifact@v4
43
+ with:
44
+ name: npm-package
45
+ path: "*.tgz"
29
46
 
30
47
  - name: Publish to npm
31
48
  run: npm publish --access public
@@ -40,12 +57,19 @@ jobs:
40
57
  - name: Checkout
41
58
  uses: actions/checkout@v4
42
59
 
60
+ - name: Download package artifact
61
+ uses: actions/download-artifact@v4
62
+ with:
63
+ name: npm-package
64
+ path: ./
65
+
43
66
  - name: Set TAG
44
67
  run: echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
45
68
 
46
69
  - name: Create release
47
70
  run: |
48
71
  gh release create ${{ env.TAG }} \
72
+ *.tgz \
49
73
  --title "${{ env.TAG }}" \
50
74
  --generate-notes \
51
75
  --draft
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@digitalocean/dots",
3
3
  "type": "module",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "description": "TypeScript client generator based on DigitalOcean's OpenAPI specification.",
6
6
  "main": "examples/index.js",
7
7
  "scripts": {