Skip to content

Commit

Permalink
fix(ci): tune workflows (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Jan 8, 2025
1 parent 8a6cf88 commit 0e1e7ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: CI
on: [pull_request]

env:
NODE_VERSION: 20

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'

- name: Install dependencies
Expand All @@ -22,7 +26,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20.x'
cache: 'npm'
- uses: webfactory/[email protected]
with:
Expand Down

0 comments on commit 0e1e7ec

Please sign in to comment.