From e601948058d84612f0d2a30457d2014536987e4b Mon Sep 17 00:00:00 2001 From: seveibar Date: Sat, 21 Sep 2024 16:24:55 -0700 Subject: [PATCH] update release script to use bun pver release --- .github/workflows/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35d6e71..74ec93f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,4 @@ +# Created using @tscircuit/plop (npm install -g @tscircuit/plop) name: Publish to npm on: push: @@ -8,13 +9,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Setup bun + uses: oven-sh/setup-bun@v1 + with: + bun-version: latest - uses: actions/setup-node@v3 with: node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm install -g pver - - run: npm ci - - run: npm run build + - run: bun install --frozen-lockfile + - run: bun run build - run: pver release env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file