]> jfr.im git - irc/evilnet/node-irc-nefarious.git/commitdiff
Update references to npm -> yarn
authorHalf-Shot <redacted>
Mon, 3 Oct 2022 13:41:14 +0000 (14:41 +0100)
committerHalf-Shot <redacted>
Mon, 3 Oct 2022 13:41:14 +0000 (14:41 +0100)
.github/workflows/tests.yml
package.json

index 113c0b219f783e88dde32f8d67e28a3d7e380d61..bc8b0b760851c2ecf77cb61dd889b376efe487ad 100644 (file)
@@ -15,8 +15,8 @@ jobs:
       uses: actions/setup-node@v1
       with:
         node-version: 16
-    - run: npm i
-    - run: npm run lint
+    - run: yarn
+    - run: yarn lint
   test:
     runs-on: ubuntu-latest
     strategy:
@@ -28,8 +28,8 @@ jobs:
         uses: actions/setup-node@v1
         with:
           node-version: ${{ matrix.node_version }}
-      - run: npm i
-      - run: npm run test
+      - run: yarn
+      - run: yarn test
   integration:
     runs-on: ubuntu-latest
     services:
@@ -49,5 +49,5 @@ jobs:
         uses: actions/setup-node@v1
         with:
           node-version: ${{ matrix.node_version }}
-      - run: npm i
-      - run: npm run test:integration
+      - run: yarn
+      - run: yarn test:integration
index 6701adc9ccac2997c7607f801bcbaca50925f3f8..bb1b0b87710afc7f93128acee73a4fb3944d0859 100644 (file)
@@ -4,7 +4,7 @@
   "version": "1.5.0",
   "author": "Matrix.org (original fork from Martyn Smith <martyn@dollyfish.net.nz>)",
   "scripts": {
-    "prepare": "npm run build",
+    "prepare": "yarn run build",
     "build": "tsc --project tsconfig.json",
     "lint": "eslint -c .eslintrc --max-warnings 0 'src/**/*.ts'",
     "test": "tap ./test/test-*.js",