Skip to content

Commit

Permalink
chore: use vars to define node versions in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
0t4u committed Sep 20, 2024
1 parent 6836381 commit 393681c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: latest
- name: Install Deps
run: npm i
- name: Lint code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [lts/*, latest]

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 393681c

Please sign in to comment.