feat(apispace): change icon and description #356
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout your updatd source code | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: Cache ~/.pnpm-store | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-pnpm-store | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-preview-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-preview-${{ env.cache-name }}- | |
${{ runner.os }}-preview- | |
${{ runner.os }}- | |
- name: build | |
run: | | |
pnpm install --fix-lockfile | |
pnpm build | |
- name: Publish | |
if: success() | |
uses: author/action-publish@stable | |
with: | |
# Optionally specify the directories to scan | |
# for modules. If this is not specified, the | |
# root directory is scanned. | |
scan: "./packages, ./libs" | |
# Optionally force publishing as a public | |
# module. We don't recommend setting this, | |
# unless you have a very specific use case. | |
force: true | |
env: | |
REGISTRY_TOKEN: "${{ secrets.NPM_TOKEN }}" |