From ac00ff30597c8b0428e291012d11f708d476ad5a Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sat, 4 Apr 2020 17:49:21 +0000 Subject: [PATCH] Use yarn in actions --- .github/workflows/PullActions.yml | 4 ++-- .github/workflows/PushActions.yml | 4 ++-- .github/workflows/ReleaseActions.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/PullActions.yml b/.github/workflows/PullActions.yml index 90d84844..159ad254 100644 --- a/.github/workflows/PullActions.yml +++ b/.github/workflows/PullActions.yml @@ -13,6 +13,6 @@ jobs: steps: - uses: actions/checkout@v1 - name: Install dependencies - run: npm install + run: yarn - name: Build - run: npm run build + run: yarn build diff --git a/.github/workflows/PushActions.yml b/.github/workflows/PushActions.yml index 49014344..60fe0e44 100644 --- a/.github/workflows/PushActions.yml +++ b/.github/workflows/PushActions.yml @@ -13,9 +13,9 @@ jobs: steps: - uses: actions/checkout@v1 - name: Install dependencies - run: npm install + run: yarn - name: Build - run: npm run build + run: yarn build cut_release: runs-on: ubuntu-latest diff --git a/.github/workflows/ReleaseActions.yml b/.github/workflows/ReleaseActions.yml index 8bc04eae..fe700d9b 100644 --- a/.github/workflows/ReleaseActions.yml +++ b/.github/workflows/ReleaseActions.yml @@ -54,11 +54,11 @@ jobs: run: | python -m pip install --upgrade pip pip install setuptools wheel twine - npm install - npm run postinstall + yarn + yarn postinstall - name: Build - run: npm run build + run: yarn build - name: Publish to PyPi env: