Skip to content

1-adjusting the "unimportant color" from a shade of foregroundColor t… #35

1-adjusting the "unimportant color" from a shade of foregroundColor t…

1-adjusting the "unimportant color" from a shade of foregroundColor t… #35

Workflow file for this run

name: CP
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions: {} #reset
jobs:
release:
# IMPORTANT: prevent this action from running on forks
if: github.repository == 'EMPTYVOID-DEV/Zero-UI'
permissions:
contents: write # to create release (changesets/action)
pull-requests: write # to create pull request (changesets/action)
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- "18.x"
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{matrix.node-version}}
cache: "pnpm"
- run: pnpm install
- name: Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}