Skip to content

Commit d0ced26

Browse files
committed
TCS-1288 build: switch from yarn to npm
1 parent 8f4663d commit d0ced26

File tree

4 files changed

+30319
-4637
lines changed

4 files changed

+30319
-4637
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
uses: actions/setup-node@v3
1818
with:
1919
node-version: ${{ matrix.node-version }}
20-
cache: 'yarn'
20+
cache: 'npm'
2121

22-
- run: yarn install
23-
- run: yarn run lint
24-
- run: yarn run test
22+
- run: npm install
23+
- run: npm run lint
24+
- run: npm run test

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
uses: actions/setup-node@v3
1717
with:
1818
node-version: 14
19-
cache: 'yarn'
19+
cache: 'npm'
2020
registry-url: 'https://registry.npmjs.org'
2121

22-
- name: Yarn Install
23-
run: yarn install --network-concurrency 1
22+
- name: NPM Install
23+
run: npm install --network-concurrency 1
2424

2525
- name: Publish (NPM)
26-
run: yarn publish --access public
26+
run: npm publish --access public
2727
env:
2828
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2929

@@ -32,6 +32,6 @@ jobs:
3232
registry-url: 'https://npm.pkg.github.com'
3333

3434
- name: Publish (GPR)
35-
run: yarn publish
35+
run: npm publish
3636
env:
3737
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)