This repository has been archived on 2025-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
MarkNow/.github/workflows/release.yml
2023-07-07 14:59:25 -03:00

34 lines
697 B
YAML

name: 🎉 Release
on:
workflow_run:
workflows: [🧪 Code checking]
types:
- completed
branches:
- main
jobs:
release:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository == 'loreddev/marknow' }}
permissions:
contents: write
pull-requests: write
name: Release
env:
HUSKY: 0
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup environment
uses: ./.github/actions/pnpm-setup
- name: Release packages
run: pnpm run release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}