Skip to content

Commit e434239

Browse files
committed
Try fixing deps and added dry run for prerelease
1 parent 793da10 commit e434239

3 files changed

Lines changed: 168 additions & 212 deletions

File tree

.github/workflows/prerelease.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ on:
1010
USER_GITHUB_TOKEN:
1111
required: true
1212

13+
inputs:
14+
dry_run:
15+
description: 'Dry run (preview only)'
16+
required: false
17+
default: false
18+
type: boolean
19+
1320
permissions:
1421
id-token: write # REQUIRED for npm Trusted Publishing
1522
contents: write
@@ -40,8 +47,11 @@ jobs:
4047
# ---- PUBLISH WITH TRUSTED PUBLISHING ----
4148

4249
- name: npm publish @wix/interact (trusted)
50+
if: ${{ github.event.inputs.dry_run == 'false' }}
4351
run: |
4452
cd packages/interact
4553
npm publish --tag rc --provenance --access=public
46-
env:
47-
NODE_AUTH_TOKEN: ${{ secrets.INTERACT_NPM_TOKEN }}
54+
env:
55+
NODE_AUTH_TOKEN: ${{ secrets.INTERACT_NPM_TOKEN }}
56+
else:
57+
run: echo "Dry run: npm publish @wix/interact (trusted) skipped"

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
"devDependencies": {
4646
"@typescript-eslint/eslint-plugin": "^7.0.0",
4747
"@typescript-eslint/parser": "^7.0.0",
48-
"eslint": "^8.57.1",
49-
"eslint-config-prettier": "^9.1.0",
50-
"eslint-plugin-jsx-a11y": "^6.8.0",
51-
"eslint-plugin-react": "^7.33.2",
52-
"eslint-plugin-react-hooks": "^4.6.0",
53-
"prettier": "^3.3.3",
48+
"eslint": "^9.39.2",
49+
"eslint-config-prettier": "^10.1.1",
50+
"eslint-plugin-jsx-a11y": "^6.11.0",
51+
"eslint-plugin-react": "^7.37.4",
52+
"eslint-plugin-react-hooks": "^5.1.0",
53+
"prettier": "^3.7.4",
5454
"typescript": "^5.9.3"
5555
}
5656
}

0 commit comments

Comments
 (0)