Skip to content

Commit 6a043da

Browse files
committed
Use npm instead of yarn
1 parent 6942491 commit 6a043da

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
node-version: 14
1818

1919
- name: Install dependencies
20-
run: yarn
20+
run: npm ci
2121

2222
- name: Run unit tests
23-
run: yarn test
23+
run: npm run test
2424

2525
code-quality:
2626
name: Code quality
@@ -35,10 +35,10 @@ jobs:
3535
node-version: 14
3636

3737
- name: Install dependencies
38-
run: yarn
38+
run: npm ci
3939

4040
- name: Lint
41-
run: yarn lint
41+
run: npm run lint
4242

4343
build:
4444
name: Build
@@ -53,7 +53,7 @@ jobs:
5353
node-version: 14
5454

5555
- name: Install dependencies
56-
run: yarn --frozen-lockfile
56+
run: npm ci
5757

5858
- name: Build the package
59-
run: yarn build
59+
run: npm run build

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141

4242
- name: Install dependencies
4343
if: steps.version.outputs.IS_NEW_VERSION == 'true'
44-
run: yarn --frozen-lockfile
44+
run: npm ci
4545

4646
- name: Publish the package in the npm registry
4747
if: steps.version.outputs.IS_NEW_VERSION == 'true'
48-
run: yarn publish --access public
48+
run: npm publish --access public
4949
env:
5050
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5151

@@ -69,6 +69,6 @@ jobs:
6969

7070
# - name: Publish the package in the GitHub registry
7171
# if: steps.version.outputs.IS_NEW_VERSION == 'true'
72-
# run: yarn publish --access public
72+
# run: npm publish --access public
7373
# env:
7474
# NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)