From cf5f83a8ac70eff770f6d0a9f35f9fdc9240b07d Mon Sep 17 00:00:00 2001 From: Satyam Agrawal Date: Tue, 23 Aug 2022 00:13:09 +0530 Subject: [PATCH] fix npm release pipeline (#118) --- .github/workflows/release.yml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c37b92b..3e18fd26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,12 +20,12 @@ jobs: node-version: 15 registry-url: https://registry.npmjs.org - name: Install Dependencies - run: yarn + run: npm i - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: - publish: yarn release + publish: npm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index f5d5012d..dfce0160 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "files": ["contracts/*", "transactions/*"], "scripts": { - "release": "npm run changeset version && npm run changeset publish" + "release": "changeset version && changeset publish" }, "repository": { "type": "git",