From 9ae275909fdf092e5784c633ce40d7362f866cfe Mon Sep 17 00:00:00 2001 From: RodrigoTomeES Date: Thu, 13 Jun 2024 17:59:27 +0200 Subject: [PATCH] fix(ci): now use npm instead of yarn --- .github/workflows/publish-github.yml | 4 ++-- .github/workflows/publish-npm.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-github.yml b/.github/workflows/publish-github.yml index 3b5716e..8d22288 100644 --- a/.github/workflows/publish-github.yml +++ b/.github/workflows/publish-github.yml @@ -16,8 +16,8 @@ jobs: with: node-version: '20.x' registry-url: 'https://npm.pkg.github.com' - - run: yarn - - run: yarn build + - run: npm i + - run: npm run build - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.GH_PUBLISH_TOKEN }} diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 1e8f5d8..378d49f 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -13,8 +13,8 @@ jobs: with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - - run: yarn - - run: yarn build + - run: npm i + - run: npm run build - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7f7309c..a17435f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,10 +22,10 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.NODE_VERSION }} - cache: 'yarn' + cache: 'npm' - name: Install dependencies - run: yarn + run: npm i - name: Test - run: yarn test:ci + run: npm run test:ci