Skip to content

Commit

Permalink
Update package manager from yarn to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
iamshabell committed Jan 23, 2024
1 parent 200ae04 commit 4e3f115
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 4e3f115

Please sign in to comment.