Skip to content

Commit

Permalink
fix(ci): now use npm instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoTomeES committed Jun 20, 2024
1 parent 5d559b8 commit 9ae2759
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9ae2759

Please sign in to comment.