Skip to content

v0.11.5

v0.11.5 #31

Workflow file for this run

name: publish
on:
release:
types: [ created ]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 7.17.1
- name: Install deps
run: pnpm install
- name: Build
run: pnpm run build --filter=@sira-ui/tailwind
# for npm README
- name: Copy README
run: cp -f README.md packages/tailwind/README.md
- name: Publish
# --no-git-checks for "Copy README" step `Unclean working tree` problem
run: pnpm publish --access public --no-git-checks --filter=@sira-ui/tailwind
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}