chore: bump tiddlywiki-plugin-dev to ^0.5.3 #17
Workflow file for this run
This file contains hidden or 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: Release Plugins | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' | |
| paths-ignore: | |
| - 'README.md' | |
| - 'wiki/**' | |
| - 'public/**' | |
| - 'scripts/**' | |
| - '.vscode' | |
| - '.idea' | |
| pull_request: | |
| branches: | |
| - master | |
| - main | |
| tags: | |
| - 'v*.*.*' | |
| paths-ignore: | |
| - 'README.md' | |
| - 'wiki/**' | |
| - 'public/**' | |
| - '.scripts/**' | |
| - '.vscode' | |
| - '.idea' | |
| concurrency: | |
| group: release-ci-group | |
| cancel-in-progress: true | |
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
| permissions: | |
| contents: write | |
| pages: write | |
| id-token: write | |
| jobs: | |
| Plugins: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Setup NodeJS | |
| uses: actions/setup-node@v2-beta | |
| with: | |
| node-version: '16' | |
| - name: Cache dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| **/node_modules | |
| ~/.pnpm-store | |
| ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| ${{ runner.os }}-node- | |
| - name: Install Dependencies | |
| run: npm install -g pnpm && pnpm install | |
| - name: Build Plugins | |
| run: pnpm run build | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v1 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| dist/*.json | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |