Skip to content

add: repo link in package.json #1

add: repo link in package.json

add: repo link in package.json #1

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
cache: "npm"
- name: Install Bun
run: |
curl -fsSL https://bun.sh/install | bash
echo 'export BUN_INSTALL="$HOME/.bun"' >> $GITHUB_ENV
echo 'export PATH="$BUN_INSTALL/bin:$PATH"' >> $GITHUB_ENV
source $GITHUB_ENV
- name: Install dependencies using Bun
run: bun install
- name: Run build script using Bun
run: bun run build
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --provenance --access public