diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 969ab01e17..8afa4da777 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -13,7 +13,7 @@ jobs: with: node-version: '14' - name: Install deps and build (with cache) - uses: bahmutov/npm-install@v1 + run: yarn - name: Lint codebase run: yarn eslint --config .eslintrc.base.json --no-eslintrc --report-unused-disable-directives --max-warnings 0 --ext .js,.ts,.jsx,.tsx . @@ -27,6 +27,6 @@ jobs: with: node-version: '14' - name: Install deps and build (with cache) - uses: bahmutov/npm-install@v1 + run: yarn - name: Check codebase format run: yarn prettier --check . diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e632f9d9b8..96c73cb8c7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -13,7 +13,7 @@ jobs: with: node-version: '14' - name: Install deps (with cache) - uses: bahmutov/npm-install@v1 + run: yarn - name: Test codebase run: yarn test-ci - name: Upload coverage @@ -31,7 +31,7 @@ jobs: with: node-version: '14' - name: Install website deps (with cache) - uses: bahmutov/npm-install@v1 + run: yarn with: working-directory: website - name: Build website @@ -48,7 +48,7 @@ jobs: with: node-version: '14' - name: Install deps (with cache) - uses: bahmutov/npm-install@v1 + run: yarn - name: Build codebase run: yarn build - name: Test build @@ -72,7 +72,7 @@ jobs: with: node-version: '14' - name: Install deps (with cache) - uses: bahmutov/npm-install@v1 + run: yarn - name: Build project run: | echo $RELEASE_VERSION @@ -100,7 +100,7 @@ jobs: with: node-version: '14' - name: Install deps (with cache) - uses: bahmutov/npm-install@v1 + run: yarn - name: Build Storybook static site run: | yarn storybook:build @@ -126,7 +126,7 @@ jobs: with: node-version: '14' - name: Install deps (with cache) - uses: bahmutov/npm-install@v1 + run: yarn - name: Build Storybook static site run: | yarn storybook:build