Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Kc committed Jul 26, 2023
1 parent d3da557 commit 239d401
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Generate badges on custom branch
on:
push:
branches:
- master
- main

jobs:
generate-badges-on-custom-branch:
Expand All @@ -14,19 +14,15 @@ jobs:
with:
fetch-depth: 0

- uses: pnpm/[email protected]
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
Expand All @@ -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: ./
Expand Down

0 comments on commit 239d401

Please sign in to comment.