-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New beta releases, and build provenance
- Loading branch information
1 parent
dd9ac54
commit d9dac1b
Showing
3 changed files
with
61 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Release beta | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*-beta*' | ||
|
||
permissions: | ||
id-token: write | ||
|
||
env: | ||
NPM_CONFIG_PROVENANCE: true | ||
|
||
jobs: | ||
release-beta: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: checkout | ||
name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- id: setup-bun | ||
name: Setup Bun | ||
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: latest | ||
|
||
- id: setup-pnpm | ||
name: Setup pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: latest | ||
standalone: true | ||
run_install: false | ||
|
||
- id: install-deps | ||
name: Install dependencies | ||
run: pnpm install | ||
|
||
- id: test | ||
name: Run test | ||
run: | | ||
pnpm run test | ||
- name: Build Package | ||
run: pnpm run build | ||
|
||
- name: Publish to NPM | ||
uses: JS-DevTools/npm-publish@v1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
tag: beta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters