@preflightsh/preflight 0.6.1 → 0.6.2

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.
@@ -0,0 +1,32 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ repository_dispatch:
5
+ types: [publish]
6
+
7
+ permissions:
8
+ contents: read
9
+ id-token: write
10
+
11
+ jobs:
12
+ publish:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
+
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: '22'
22
+
23
+ - name: Update npm and check version
24
+ run: |
25
+ npm install -g npm@latest
26
+ npm --version
27
+
28
+ - name: Update version and publish
29
+ run: |
30
+ VERSION=${{ github.event.client_payload.version }}
31
+ npm version $VERSION --no-git-tag-version
32
+ npm publish --provenance --access public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@preflightsh/preflight",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "CLI tool that scans your codebase for launch readiness",
5
5
  "bin": {
6
6
  "preflight": "run.js"