From 3281144ef35b961acd91a22ada2c709a60541c2d Mon Sep 17 00:00:00 2001 From: Ritesh Ghosh Date: Mon, 12 May 2025 00:24:48 +0530 Subject: [PATCH] ci: udpate lint & format & release workflows --- .github/workflows/lint-&-format-check.yml | 2 +- .github/workflows/release.yml | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-&-format-check.yml b/.github/workflows/lint-&-format-check.yml index e17ccb2..741370a 100644 --- a/.github/workflows/lint-&-format-check.yml +++ b/.github/workflows/lint-&-format-check.yml @@ -1,4 +1,4 @@ -name: "Prettier Check" +name: "Lint and format check" on: push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d61d37d..f5095f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,14 @@ jobs: - name: Checkouts repo uses: actions/checkout@v4 + - name: Setup NodeJS + uses: actions/setup-node@v4 + with: + node-version: "22.x" + + - name: Install deps + run: npm i + - name: Conventional changelog action id: changelog uses: TriPSs/conventional-changelog-action@v5 @@ -29,4 +37,4 @@ jobs: body: ${{ steps.changelog.outputs.clean_changelog }} - name: Fix identation in package.json - run: npx prettier --write package.json \ No newline at end of file + run: prettier --write package.json \ No newline at end of file