Skip to content

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

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

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

Workflow file for this run

name: Release
on:
push:
branches:
- main
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