Skip to content

Commit

Permalink
chore: github actions의 workflow jobs에 name 추가하여 통일화 (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukvvon authored Dec 16, 2024
1 parent 0896035 commit 8b90c82
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 13 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,22 @@ jobs:
broken-link-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
- name: Checkout Repository
uses: actions/checkout@v4

- name: Enable Corepack
run: corepack enable

- name: Install Node.js
uses: actions/setup-node@v4
with:
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
node-version-file: '.nvmrc'
- run: yarn install

- name: Install Dependencies
run: yarn install

- name: Check broken link
env:
url: ${{ github.event.inputs.url || 'https://es-hangul.slash.page' }}
Expand Down
25 changes: 18 additions & 7 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,25 @@ jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
- name: Checkout Repository
uses: actions/checkout@v4

- name: Enable Corepack
run: corepack enable

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install
- run: yarn test
- uses: codecov/codecov-action@v4

- name: Install Dependencies
run: yarn install

- name: Test
run: yarn test

- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: corepack enable
- name: Checkout Repository
uses: actions/checkout@v4

- name: Enable Corepack
run: corepack enable

- name: Install Node.js
uses: actions/setup-node@v4
Expand Down

0 comments on commit 8b90c82

Please sign in to comment.