generated from vidavidorra/repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (36 loc) · 1.34 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Build
on:
push:
branches:
- main
- 'renovate/**'
- 'github-renovate/**'
pull_request:
jobs:
lint-commit-messages:
uses: vidavidorra/.github/.github/workflows/lint-commit-messages.yml@62580a2290da7a11a4332bbafc49ecb895d6873e # v3.0.0
lint:
uses: vidavidorra/.github/.github/workflows/node-lint.yml@62580a2290da7a11a4332bbafc49ecb895d6873e # v3.0.0
build:
uses: vidavidorra/.github/.github/workflows/node-build.yml@62580a2290da7a11a4332bbafc49ecb895d6873e # v3.0.0
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Setup node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
- name: Test
uses: renovatebot/github-action@3cef36a9aba515d8726b491905b3bc766832e221 # v39.0.5
with:
configurationFile: .github/renovate-global.json
token: ${{ secrets.RENOVATE_TOKEN }}
env:
LOG_LEVEL: debug
RENOVATE_DRY_RUN: full
RENOVATE_REPOSITORIES: '["vidavidorra/renovate"]'
release:
needs: [lint-commit-messages, lint, build, test]
uses: vidavidorra/.github/.github/workflows/release.yml@62580a2290da7a11a4332bbafc49ecb895d6873e # v3.0.0
secrets:
privateKey: ${{ secrets.RELEASE_PRIVATE_KEY }}