Skip to content

Commit c60d287

Browse files
authored
CHANGE @W-18289221@ Switching from yarn to npm (#1776)
1 parent 558acbe commit c60d287

File tree

6 files changed

+12695
-7966
lines changed

6 files changed

+12695
-7966
lines changed

.github/workflows/create-release-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- uses: actions/setup-node@v4
3232
with:
3333
node-version: 'lts/*' # Always use Node LTS for building dependencies.
34-
- run: yarn
34+
- run: npm install
3535
# Increment the version as desired locally, without actually committing anything.
3636
- name: Locally increment version
3737
run: |

.github/workflows/run-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
- uses: actions/setup-node@v4
3434
with:
3535
node-version: ${{ matrix.node.version }}
36-
- run: yarn
37-
- run: yarn build
38-
- run: yarn test
36+
- run: npm install
37+
- run: npm run build
38+
- run: npm run test
3939
id: jest-tests
40-
- run: yarn lint
40+
- run: npm run lint
4141
- name: Upload full artifact
4242
if: ${{ always() }}
4343
uses: actions/upload-artifact@v4
@@ -61,8 +61,8 @@ jobs:
6161
with:
6262
node-version: 'lts/*' # Always use Node LTS for building the tarball
6363
# Install/build dependencies
64-
- run: yarn
65-
- run: yarn build
64+
- run: npm install
65+
- run: npm run build
6666
# Create the tarball
6767
- run: npm pack
6868
# Upload the tarball as an artifact

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
/.nyc_output
99
/dist
1010
/lib
11-
/package-lock.json
1211
/tmp
1312
node_modules
1413
/out
@@ -161,4 +160,4 @@ sfge*.log.gz
161160

162161
npm-shrinkwrap.json
163162

164-
.npmrc
163+
.npmrc

0 commit comments

Comments
 (0)