Skip to content

Merge pull request #126 from chromaui/fix-dist-config #124

Merge pull request #126 from chromaui/fix-dist-config

Merge pull request #126 from chromaui/fix-dist-config #124

Workflow file for this run

name: Release
on: [push]
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/checkout@v2
with:
token: ${{ secrets.AUTO_RELEASE_TOKEN_GHENGEVELD }}
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
pnpm install
pnpm run prepublish
pnpm run release