Skip to content

Commit 79e7199

Browse files
authored
ci: use reusable workflows from vidavidorra/.github (#187)
1 parent 890b3fc commit 79e7199

File tree

2 files changed

+3
-25
lines changed

2 files changed

+3
-25
lines changed

.github/workflows/build.yml

+1-13
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,7 @@ on:
88
pull_request:
99
jobs:
1010
lint:
11-
runs-on: ubuntu-latest
12-
timeout-minutes: 5
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3.0.0
16-
- name: Setup node
17-
uses: actions/setup-node@56337c425554a6be30cdef71bf441f15be286854 # tag=v3.1.1
18-
with:
19-
node-version: 14
20-
- name: Install project
21-
run: npm ci --ignore-scripts
22-
- name: Lint
23-
run: npm run lint
11+
uses: vidavidorra/.github/.github/workflows/node-lint.yml@7603b00a274e24cb442908b827f1626d4e02fc67 # tag=v1.2.2
2412
build:
2513
name: Build (Node.js v${{ matrix.node }})
2614
runs-on: ubuntu-latest

.github/workflows/lint-commit-messages.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,5 @@ on:
77
- 'github-renovate/**'
88
pull_request:
99
jobs:
10-
commitlint:
11-
runs-on: ubuntu-latest
12-
timeout-minutes: 5
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3.0.0
16-
with:
17-
fetch-depth: 0
18-
- name: Lint commit messages
19-
uses: wagoid/commitlint-github-action@ca212b3558faa549515a96944595cad58a40e047 # tag=v4.1.11
20-
with:
21-
token: ${{ secrets.GITHUB_TOKEN }}
10+
lint-commit-messages:
11+
uses: vidavidorra/.github/.github/workflows/lint-commit-messages.yml@7603b00a274e24cb442908b827f1626d4e02fc67 # tag=v1.2.2

0 commit comments

Comments
 (0)