Skip to content

Commit

Permalink
ci: use reusable workflows from vidavidorra/.github (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruijn committed Apr 17, 2022
1 parent 890b3fc commit 79e7199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,7 @@ on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3.0.0
- name: Setup node
uses: actions/setup-node@56337c425554a6be30cdef71bf441f15be286854 # tag=v3.1.1
with:
node-version: 14
- name: Install project
run: npm ci --ignore-scripts
- name: Lint
run: npm run lint
uses: vidavidorra/.github/.github/workflows/node-lint.yml@7603b00a274e24cb442908b827f1626d4e02fc67 # tag=v1.2.2
build:
name: Build (Node.js v${{ matrix.node }})
runs-on: ubuntu-latest
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows/lint-commit-messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,5 @@ on:
- 'github-renovate/**'
pull_request:
jobs:
commitlint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3.0.0
with:
fetch-depth: 0
- name: Lint commit messages
uses: wagoid/commitlint-github-action@ca212b3558faa549515a96944595cad58a40e047 # tag=v4.1.11
with:
token: ${{ secrets.GITHUB_TOKEN }}
lint-commit-messages:
uses: vidavidorra/.github/.github/workflows/lint-commit-messages.yml@7603b00a274e24cb442908b827f1626d4e02fc67 # tag=v1.2.2

0 comments on commit 79e7199

Please sign in to comment.