From 4e3f1156b74b0fc87604668e2c1a7d766912e01b Mon Sep 17 00:00:00 2001 From: iamshabell <91321698+iamshabell@users.noreply.github.com> Date: Tue, 23 Jan 2024 19:34:38 +0300 Subject: [PATCH] Update package manager from yarn to npm --- .github/workflows/main.yml | 10 +++++----- .github/workflows/publish.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 80018a4..8e419d8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,8 +24,8 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: 'yarn' - - run: yarn - - run: yarn lint - - run: yarn test - - run: yarn build + cache: 'npm' + - run: npm + - run: npm run lint + - run: npm run test + - run: npm run build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 62fc611..29a4eeb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,13 +24,13 @@ jobs: node-version: 18.x - name: Install Dependencies - run: yarn + run: npm install - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: - publish: yarn publish-package + publish: npm run publish-package env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file