Skip to content

Commit

Permalink
ci(node): fix node-version in workflow ci.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz committed Mar 5, 2024
1 parent caeb795 commit 55bdb58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,16 @@ on:
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['10', '12', '14']
name: '[v${{ matrix.node-version }}] lint and test'
name: lint and test'

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node-version }}
node-version: 20

- name: Cache node_modules
id: cache-node_modules
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
"husky": {
"hooks": {
"pre-commit": "npm run format",
"pre-push": "npm run test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
Expand Down

0 comments on commit 55bdb58

Please sign in to comment.