Skip to content

Commit de43f90

Browse files
tmp
1 parent 8972533 commit de43f90

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/actions/setup-node/action.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@ runs:
2020
shell: bash
2121
run: echo "NODE_VERSION=$(node --version)" >> $GITHUB_ENV
2222

23-
- name: Cache Dependencies
23+
- name: Cache dependencies
2424
uses: actions/cache@v3
2525
with:
2626
path: ./node_modules
27-
key: ${{ runner.os }}-${{ inputs.node-version }}-modules-${{ hashFiles('**/yarn.lock') }}
28-
restore-keys: ${{ runner.os }}-${{ inputs.node-version }}-modules-
27+
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-modules-${{ hashFiles('./yarn.lock') }}
2928

30-
- name: Install Dependencies & Build
31-
run: yarn install --frozen-lockfile --ignore-engines
29+
- name: Install dependencies
30+
run: yarn install --frozen-lockfile
3231
shell: bash

.github/workflows/pr-check.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88
lint:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: aslafy-z/conventional-pr-title-action@v3
12-
env:
13-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11+
- uses: actions/checkout@v3
12+
13+
- uses: ./.github/actions/setup-node
14+
15+
- name: commitlint
16+
run: |
17+
echo "${{ github.event.pull_request.title }}" | npx commitlint

0 commit comments

Comments
 (0)