Skip to content

Commit

Permalink
fix: update condition syntax for Node.js version check in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bengeois committed Nov 1, 2024
1 parent 25b3dab commit 8566f34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:

# Build documentation only for Node.js 20.x
- name: Build documentation
if: matrix.node-version == 20.x
run: yarn build:docs
if: ${{ matrix.node-version }} == '20.x'
run: echo ${{ matrix.node-version }}

# Upload documentation artifact (only for Node.js 20.x)
- name: Upload docs
if: matrix.node-version == 20.x
if: ${{ matrix.node-version }} == '20.x'
uses: actions/upload-pages-artifact@v3
with:
path: "docs"

0 comments on commit 8566f34

Please sign in to comment.