diff --git a/.github/workflows/cr-comment.yml b/.github/workflows/cr-comment.yml index 203b7e11..625035d1 100644 --- a/.github/workflows/cr-comment.yml +++ b/.github/workflows/cr-comment.yml @@ -1,4 +1,4 @@ -name: Add continuous release label +name: ๐Ÿ”– Add continuous release label on: issue_comment: diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml index 7dd5c4c7..8d05e060 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -1,8 +1,10 @@ -name: CR +name: ๐Ÿ”„ CR env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1' +permissions: {} + on: pull_request: branches: [main] @@ -26,8 +28,6 @@ on: tags-ignore: - '*' -permissions: {} - concurrency: group: ${{ github.workflow }}-${{ github.event.number }} cancel-in-progress: true @@ -38,12 +38,25 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3 - - uses: actions/setup-node@v4 + - name: ๐Ÿ“ฅ Checkout + uses: actions/checkout@v4 + with: + persist-credentials: false + + - name: ๐Ÿ“ฆ Setup pnpm + uses: pnpm/action-setup@v3 + + - name: ๐Ÿ› ๏ธ Setup Node.js + uses: actions/setup-node@v4 with: node-version: 22 cache: pnpm - - run: pnpm install - - run: pnpm build - - run: npx pkg-pr-new publish --compact --no-template --pnpm + + - name: ๐Ÿ“ฆ Install dependencies + run: pnpm install --frozen-lockfile + + - name: ๐Ÿ› ๏ธ Build + run: pnpm build + + - name: ๐Ÿš€ Publish Package + run: npx pkg-pr-new publish --compact --no-template --pnpm diff --git a/.github/workflows/lock-threads.yml b/.github/workflows/lock-threads.yml index c76a2acb..c4494e89 100644 --- a/.github/workflows/lock-threads.yml +++ b/.github/workflows/lock-threads.yml @@ -1,4 +1,4 @@ -name: Lock Threads +name: ๐Ÿ”’ Lock Threads on: schedule: diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 84a03487..65f1100f 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -1,4 +1,6 @@ -name: Release +name: ๐Ÿš€ Release + +permissions: {} on: push: @@ -11,15 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Create Release for Tag + - name: ๐Ÿ”– Create Release for Tag id: release_tag uses: yyx990803/release-tag@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} - body: | - Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details. + body: Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details. diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index dd47c33f..cb55c810 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,4 +1,9 @@ -name: Close stale issues and PRs +name: โ›” Close stale issues and PRs + +permissions: + issues: write + pull-requests: write + on: schedule: - cron: '0 12 1,15 * *' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 51d3fffe..68782d19 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Test +name: ๐Ÿงช Test on: push: @@ -26,25 +26,27 @@ jobs: runs-on: ${{ matrix.os }} steps: - - name: Checkout + - name: ๐Ÿ“ฅ Checkout uses: actions/checkout@v4 + with: + persist-credentials: false - - name: Install pnpm + - name: ๐Ÿ“ฆ Install pnpm uses: pnpm/action-setup@v3 - - name: Set node version to ${{ matrix.node_version }} + - name: ๐Ÿ› ๏ธ Set node version to ${{ matrix.node_version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node_version }} cache: pnpm - - name: Install deps + - name: ๐Ÿ“ฆ Install dependencies run: pnpm install env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 - - name: Install Playwright + - name: ๐ŸŽญ Install Playwright run: pnpm playwright install chromium - - name: Check + - name: โœ… Check run: pnpm check diff --git a/README.md b/README.md index c6533b30..2561e68c 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Detailed changes for each release are documented in the [CHANGELOG](https://gith ## Contribution -Please make sure to read the [Contributing Guide](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md) before making a pull request. +Please make sure to read the [Contributing Guide](https://github.com/vuejs/vitepress/blob/main/contributing.md) before making a pull request. ## License