| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 48ec33f commit 61261cd
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,9 @@ name: "Commit messages adheres to guidelines at https://goo.gl/p2fr5Q" | |||
| 2 | 2 | ||
| 3 | 3 | on: [pull_request] | |
| 4 | 4 | ||
| 5 | + env: | ||
| 6 | + NODE_VERSION: 14.x | ||
| 7 | + | ||
| 5 | 8 | jobs: | |
| 6 | 9 | lint-commit-message: | |
| 7 | 10 | runs-on: ubuntu-latest | |
@@ -10,10 +13,10 @@ jobs: | |||
| 10 | 13 | with: | |
| 11 | 14 | # Last 100 commits should be enough for a PR | |
| 12 | 15 | fetch-depth: 100 | |
| 13 | - - name: Use Node.js 12 | ||
| 16 | + - name: Install Node.js | ||
| 14 | 17 | uses: actions/setup-node@v2 | |
| 15 | 18 | with: | |
| 16 | - node-version: 12.x | ||
| 19 | + node-version: ${{ env.NODE_VERSION }} | ||
| 17 | 20 | - name: Validate commit messages | |
| 18 | 21 | run: | | |
| 19 | 22 | echo "::add-matcher::.github/workflows/commit-lint-problem-matcher.json" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments