Skip to content

Commit f819fd0

Browse files
committed
fix: update pull-request based on the npm docs
1 parent fdf3b6d commit f819fd0

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/beta-release.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ref: ${{ github.head_ref }}
2222
- uses: actions/setup-node@v4
2323
with:
24-
node-version: '22.14.0'
24+
node-version: '20.x'
2525
registry-url: 'https://registry.npmjs.org'
2626
cache: 'yarn'
2727

@@ -41,8 +41,16 @@ jobs:
4141
env:
4242
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
4343

44+
- name: Build package
45+
run: npm run build
46+
47+
- uses: actions/setup-node@v4
48+
with:
49+
node-version: '22.14.0'
50+
registry-url: 'https://registry.npmjs.org'
51+
4452
- name: Release a new beta version
45-
run: npm publish --tag beta --access public
53+
run: npm publish --tag beta --access public --ignore-scripts
4654

4755
- uses: actions/github-script@v6
4856
with:

0 commit comments

Comments
 (0)