From de6f469011e15f82ddffa8aad75f628d1ca612da Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 19 Mar 2024 01:54:12 +0000
Subject: [PATCH] chore(deps-dev): bump @types/node from 20.11.25 to 20.11.29 (#1010)
---
.github/workflows/ci.yaml | 28 ++++++++++++++++++++++++++--
1 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 731395d..56107cf 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -43,5 +43,29 @@
- name: Test
run: npm test
- - name: Ensure Quartz builds
- run: npx quartz build
+ - name: Ensure Quartz builds, check bundle info
+ run: npx quartz build --bundleInfo
+
+ publish-tag:
+ if: ${{ github.repository == 'jackyzha0/quartz' }}
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - name: Setup Node
+ uses: actions/setup-node@v3
+ with:
+ node-version: 18
+ - name: Get package version
+ run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
+ - name: Create release tag
+ uses: pkgdeps/git-tag-action@v2
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_repo: ${{ github.repository }}
+ version: ${{ env.PACKAGE_VERSION }}
+ git_commit_sha: ${{ github.sha }}
+ git_tag_prefix: "v"
--
Gitblit v1.10.0