Skip to content

feat: add logo at docs #68

feat: add logo at docs

feat: add logo at docs #68

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
packages: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
- name: Setup Yarn
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Install Dependencies
run: yarn install
- name: Resolve Workspace Protocol
run: yarn resolve-workspace-protocol
- name: Build Packages
run: yarn build:packages
- name: Create .npmrc file
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Commit Changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "chore: resolve workspace protocol dependencies" || true
- name: Publish
id: changesets
uses: changesets/action@v1
with:
version: yarn version-packages
publish: yarn changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}