all-the-public-replicate-models 1.1.1 → 1.3.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.
@@ -17,6 +17,7 @@ jobs:
17
17
  uses: actions/setup-node@v3
18
18
  with:
19
19
  node-version: '18'
20
+ registry-url: 'https://registry.npmjs.org'
20
21
 
21
22
  - name: Install Dependencies
22
23
  run: npm ci
@@ -34,7 +35,7 @@ jobs:
34
35
  - name: Run Tests
35
36
  run: npm test
36
37
 
37
- - name: Commit changes
38
+ - name: Commit changes before npm publish
38
39
  run: |
39
40
  git config --local user.email "action@github.com"
40
41
  git config --local user.name "GitHub Action"
@@ -42,7 +43,16 @@ jobs:
42
43
  git commit -m "Build artifacts" || echo "No changes to commit"
43
44
  git push
44
45
 
46
+
45
47
  - name: Publish to npm
46
- run: npx np@latest minor --no-2fa --yolo
48
+ run: npm version minor --force && npm publish
47
49
  env:
48
50
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
51
+
52
+ - name: Commit changes after npm publish
53
+ run: |
54
+ git add -A
55
+ git commit -m "Bump version in package.json" || echo "No changes to commit"
56
+ git push
57
+
58
+