浏览代码

Last bit of yarn bye

Paulus Schoutsen 4 年之前
父节点
当前提交
ae45ddc30e
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      .github/workflows/ci.yml
  2. 1 1
      .github/workflows/npmpublish.yml

+ 2 - 2
.github/workflows/ci.yml

@@ -19,6 +19,6 @@ jobs:
         uses: actions/setup-node@v1
         with:
           node-version: 16
-      - run: yarn install --frozen-lockfile
+      - run: npm ci
       - run: script/build
-      - run: yarn prettier --check src
+      - run: npm exec prettier --check src

+ 1 - 1
.github/workflows/npmpublish.yml

@@ -16,7 +16,7 @@ jobs:
         with:
           node-version: 14
           registry-url: https://registry.npmjs.org/
-      - run: yarn install --frozen-lockfile
+      - run: npm ci
       - run: npm publish
         env:
           NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}