From 239d40128f75f3e416809b3a5009a86d91f70050 Mon Sep 17 00:00:00 2001 From: Kc Date: Wed, 26 Jul 2023 13:20:14 -0500 Subject: [PATCH] ci --- .github/workflows/main.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1431ea3..65e7311 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ name: Generate badges on custom branch on: push: branches: - - master + - main jobs: generate-badges-on-custom-branch: @@ -14,19 +14,15 @@ jobs: with: fetch-depth: 0 - - uses: pnpm/action-setup@v2.2.4 - with: - version: latest - - name: Setup node uses: actions/setup-node@v3 with: node-version-file: '.node-version' registry-url: 'https://registry.npmjs.org' - cache: 'pnpm' + cache: 'yarn' - name: Installing dependencies - run: pnpm install --frozen-lockfile + run: yarn install - name: Delete remote badges branch run: git push origin --delete badges @@ -35,7 +31,7 @@ jobs: run: git checkout -b badges - name: Tests - run: pnpm test-ci + run: yarn test-ci - name: Generating coverage badges uses: ./