Skip to content

Commit

Permalink
chore(unenv-preset): publish beta pre-release (#7683)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb authored Jan 7, 2025
1 parent 9d2740a commit df15eb0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/prereleases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
node .github/version-script.js miniflare
node .github/version-script.js create-cloudflare
node .github/version-script.js workers-shared
node .github/version-script.js unenv-preset
- name: Build
run: pnpm run build
Expand Down Expand Up @@ -73,6 +74,11 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

- name: Publish unenv-preset@beta to NPM
run: pnpm --filter unenv-preset publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

- name: Get Package Version
run: echo "WRANGLER_VERSION=$(npm view wrangler@beta version)" >> $GITHUB_ENV
working-directory: packages/wrangler
6 changes: 4 additions & 2 deletions packages/unenv-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"runtime"
"dist"
],
"scripts": {
"build": "unbuild",
Expand All @@ -58,6 +57,9 @@
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"workers-sdk": {
"prerelease": true
}
Expand Down

0 comments on commit df15eb0

Please sign in to comment.