We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81cb3fa commit 2cfaf26Copy full SHA for 2cfaf26
1 file changed
.github/workflows/release.yml
@@ -21,8 +21,7 @@ jobs:
21
- run: bun run build
22
- uses: actions/setup-node@v6
23
with:
24
- node-version: '22'
25
- registry-url: 'https://registry.npmjs.org'
+ node-version: '24'
26
- name: Create Release PR or Detect Publishable Versions
27
id: changesets
28
uses: changesets/action@v1
@@ -36,8 +35,8 @@ jobs:
36
35
if: steps.changesets.outputs.hasChangesets == 'false'
37
working-directory: packages/classy-store
38
run: |
39
- PKG_NAME=$(node -p "require('./package.json').name")
40
- PKG_VERSION=$(node -p "require('./package.json').version")
+ PKG_NAME=$(jq -r .name package.json)
+ PKG_VERSION=$(jq -r .version package.json)
41
if npm view "${PKG_NAME}@${PKG_VERSION}" version 2>/dev/null; then
42
echo "Version ${PKG_VERSION} already published — skipping."
43
else
0 commit comments