From 12d1712eeb2ab32ecc8ee5a382948d976ec35543 Mon Sep 17 00:00:00 2001 From: manish Date: Thu, 18 Jan 2024 09:31:21 +0530 Subject: [PATCH] fix(ci): github actions configs --- .github/workflows/release.yaml | 14 ++++++++------ package.json | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 48370d9..3afc9ca 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,21 +11,23 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node.js uses: actions/setup-node@v1 with: node-version: 18.x + - name: Install pnpm + run: npm install -g pnpm@7.33.5 - name: Install dependencies - run: npx ci + run: pnpm install - name: Install semantic-release extra plugins - run: npm install --save-dev @semantic-release/changelog @semantic-release/git + run: pnpm install -D @semantic-release/changelog @semantic-release/git - name: Lint - run: npm run lint-fix + run: pnpm lint - name: Test - run: npm run test:unit --if-present + run: pnpm test - name: Build - run: npm run build + run: pnpm build - name: Release env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/package.json b/package.json index badc690..e953494 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gateway/sdk", - "version": "0.0.0", + "version": "0.0.0-semantic-release", "description": "A Typescript SDK for the Gateway API", "main": "dist/src/Gateway.js", "types": "dist/src/Gateway.d.ts",