Skip to content

New beta releases, and build provenance #1

New beta releases, and build provenance

New beta releases, and build provenance #1

Workflow file for this run

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