From 3af3d3da1e6aae1cd8920b36f07022d145e4fc52 Mon Sep 17 00:00:00 2001 From: khoilen Date: Fri, 10 Jan 2025 13:24:19 +0700 Subject: [PATCH] feat: change title release --- .github/workflows/publish-nt-css.yml | 47 ++++++++++++++-------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/.github/workflows/publish-nt-css.yml b/.github/workflows/publish-nt-css.yml index f92447e..8e6c927 100644 --- a/.github/workflows/publish-nt-css.yml +++ b/.github/workflows/publish-nt-css.yml @@ -14,35 +14,35 @@ jobs: contains(github.event.pull_request.head.ref, 'bump-nt-stylesheet'))) runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 + # steps: + # - name: Checkout repository + # uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 + # - name: Set up Node.js + # uses: actions/setup-node@v4 + # with: + # node-version: 20 - - name: Authenticate with npm - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_ACCESS_TOKEN }}" > ~/.npmrc + # - name: Authenticate with npm + # run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_ACCESS_TOKEN }}" > ~/.npmrc - - name: Install pnpm - run: npm install -g pnpm + # - name: Install pnpm + # run: npm install -g pnpm - - name: Install dependencies - run: pnpm install --frozen-lockfile - working-directory: apps/nt-stylesheet + # - name: Install dependencies + # run: pnpm install --frozen-lockfile + # working-directory: apps/nt-stylesheet - - name: Build CSS framework - run: pnpm run build - working-directory: apps/nt-stylesheet + # - name: Build CSS framework + # run: pnpm run build + # working-directory: apps/nt-stylesheet - - name: Publish to npm - run: npm publish - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} - working-directory: apps/nt-stylesheet + # - name: Publish to npm + # run: npm publish + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} + # working-directory: apps/nt-stylesheet create-github-release: name: Create GitHub Release @@ -57,6 +57,7 @@ jobs: - name: Create Release run: | version=$(jq -r '.version' apps/nt-stylesheet/package.json) + title="v$version - stylesheet" gh release create "v$version" --generate-notes env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}