Merge pull request #367 from Codpoe/main #52
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: Continuous Releases | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
- release-* | |
tags-ignore: | |
- v* | |
paths-ignore: | |
- "examples/**" | |
- "**/README.md" | |
pull_request: | |
paths-ignore: | |
- "examples/**" | |
- "**/README.md" | |
jobs: | |
cr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build start | |
run: pnpm run build && pnpm run types | |
- name: Release | |
run: pnpm dlx [email protected] publish './packages/*' --template './examples/*' --compact |