Skip to content

Commit 7d23c4b

Browse files
lukedawilsonLuke Wilson
andauthored
Replace yarn with npm (#60)
* Replace yarn with npm * Fix peer deps Co-authored-by: Luke Wilson <[email protected]>
1 parent cfa67b3 commit 7d23c4b

File tree

7 files changed

+20637
-6846
lines changed

7 files changed

+20637
-6846
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: bahmutov/npm-install@v1
2424

2525
- name: Test
26-
run: yarn test --ci --coverage --maxWorkers=2
26+
run: npm test --ci --coverage --maxWorkers=2
2727

2828
- name: Build
29-
run: yarn build
29+
run: npm run build

.github/workflows/publish.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
registry-url: 'https://registry.npmjs.org' # set up .npmrc file to publish to npm
2323

2424
- name: Install dependencies
25-
run: yarn install
25+
run: npm install
2626

2727
- name: Build
28-
run: yarn build
28+
run: npm run build
2929

3030
- name: Publish
31-
run: yarn publish
31+
run: npm publish
3232
env:
3333
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3434

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ dist
77
target/
88
.vscode/
99
.idea/
10-
package-lock.json
10+
yarn.lock

.gitpod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# and commit this file to your remote git repository to share the goodness with others.
44

55
tasks:
6-
- init: yarn install && yarn run build
7-
command: yarn run test
6+
- init: npm install && npm run build
7+
command: npm test

0 commit comments

Comments
 (0)