Skip to content

Commit 97fa037

Browse files
authored
chore: fix github pages pipeline to use Node 22 (#7476)
# Pull Request ## 📖 Description The GitHub pages deploy pipeline uses NodeJS version 20 which fails on scripts that use globSync, this change updates to version 22 with separate actions to pin the version. ## ✅ Checklist ### General - [ ] I have included a change request file using `$ npm run change` - [ ] I have added tests for my changes. - [x] I have tested my changes. - [ ] I have updated the project documentation to reflect my changes. - [x] I have read the [CONTRIBUTING](https://github.com/microsoft/fast/blob/main/CONTRIBUTING.md) documentation and followed the [standards](https://github.com/microsoft/fast/blob/main/CODE_OF_CONDUCT.md#our-standards) for this project. ## ⏭ Next Steps - Deploy GitHub pages
1 parent 9f575eb commit 97fa037

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/cd-gh-pages.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,16 @@ permissions:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16-
strategy:
17-
matrix:
18-
node: [22.x]
1916

2017
steps:
2118
- uses: actions/checkout@v4
22-
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v4
2419
with:
25-
node-version: ${{ matrix.node-version }}
2620
fetch-depth: 0
2721

22+
- uses: actions/setup-node@v6
23+
with:
24+
node-version: 22
25+
2826
- name: Set Git User
2927
run: |
3028
git config --global user.name "${{ env.GITHUB_SERVICE_USER }}"

0 commit comments

Comments
 (0)