mirror of
https://github.com/LucasVbr/hono-pug-renderer.git
synced 2026-12-05 14:30:51 +00:00
feat: Update dependencies and configuration for improved build process
This commit is contained in:
@@ -2,9 +2,8 @@ name: Publish to npm
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
@@ -16,14 +15,19 @@ jobs:
|
||||
|
||||
- name: Install Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
run: bun install --lockfile-only
|
||||
|
||||
- name: Build with Bun
|
||||
run: bun run build
|
||||
|
||||
- name: Publish to npm
|
||||
run: npm publish --access public
|
||||
- name: Authenticate to npm
|
||||
run: bunx npm login
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish to npm
|
||||
run: bun publish --access public
|
||||
|
||||
Reference in New Issue
Block a user