Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

chore(release): v0.0.6 #3

chore(release): v0.0.6

chore(release): v0.0.6 #3

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com/'
scope: '@figureland'
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Build the package
run: bun run build
- name: Publish to GitHub Packages
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@figureland'
- name: Publish to npmjs.com
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}