Skip to content

Commit

Permalink
refactor: update package manager and commands in GitHub Actions workf…
Browse files Browse the repository at this point in the history
…lows
  • Loading branch information
gabriel-logan committed Oct 20, 2024
1 parent a963b69 commit 6591982
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: "npm"
cache: "yarn"
- name: Install dependencies
run: npm install
run: yarn install
- name: Run tests
run: npm test
run: yarn test
- name: Build
run: npm run build
run: yarn build
- name: Publish to NPM
run: npm publish
run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
1 change: 0 additions & 1 deletion .github/workflows/typescript-pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: "yarn"

- name: Install dependencies
Expand Down

0 comments on commit 6591982

Please sign in to comment.