Skip to content

Merge branch 'main' of github.com:brandon-schabel/bun-nook-kit #293

Merge branch 'main' of github.com:brandon-schabel/bun-nook-kit

Merge branch 'main' of github.com:brandon-schabel/bun-nook-kit #293

Workflow file for this run

name: Release
on:
push:
branches:
- release
- main
- beta
pull_request:
types: [synchronize, opened, reopened]
jobs:
release:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PERSONAL_ACCESS_TOKEN_GITHUB: ${{ secrets.PERSONAL_ACCESS_TOKEN_GITHUB }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup SSH Agent
uses: webfactory/ssh-agent@v0.8.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Set up Bun
uses: oven-sh/setup-bun@v1
- name: Set up npm authentication
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Ensure no git lock before release
run: rm -f .git/index.lock
- name: Run Release Script
run: bun release.ts