Skip to content

Commit 6591982

Browse files
committed
refactor: update package manager and commands in GitHub Actions workflows
1 parent a963b69 commit 6591982

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
with:
2020
node-version: 20
2121
registry-url: https://registry.npmjs.org/
22-
cache: "npm"
22+
cache: "yarn"
2323
- name: Install dependencies
24-
run: npm install
24+
run: yarn install
2525
- name: Run tests
26-
run: npm test
26+
run: yarn test
2727
- name: Build
28-
run: npm run build
28+
run: yarn build
2929
- name: Publish to NPM
30-
run: npm publish
30+
run: yarn npm publish
3131
env:
3232
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}

.github/workflows/typescript-pr-check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
- uses: actions/setup-node@v3
2020
with:
2121
node-version: 20
22-
registry-url: https://registry.npmjs.org/
2322
cache: "yarn"
2423

2524
- name: Install dependencies

0 commit comments

Comments
 (0)