Skip to content

Commit

Permalink
ci(repo): update versions in GitHub workflow
Browse files Browse the repository at this point in the history
update Node and Action versions
  • Loading branch information
jwulf committed Dec 14, 2023
1 parent d8cf579 commit 1be4320
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0 # Ensures commit history is fetched

- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '14' # Specify a Node.js version
node-version: '18' # Specify a Node.js version

- name: Install dependencies
run: npm install
env:
GH_NPM_TOKEN: ${{ secrets.GH_NPM_TOKEN }}

- name: Lint last commit
run: npx commitlint --from=${{ github.event.pull_request.base.sha }} --to=${{ github.head_ref }} --verbose

0 comments on commit 1be4320

Please sign in to comment.