Skip to content

Commit d0bbc8c

Browse files
committed
Update shiki versions in GitHub Actions workflow to specific releases and modify npm install command to ignore scripts
1 parent 7f57951 commit d0bbc8c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
node-version: [20.x, 22.x, 24.x]
19-
shiki-version: ["1", "2", "3", "4"]
19+
shiki-version: ["1.29.2", "2.5.0", "3.23.0", "4.3.0"]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:
@@ -27,6 +27,6 @@ jobs:
2727
node-version: ${{ matrix.node-version }}
2828
cache: "npm"
2929
- run: npm ci
30-
- run: npm install shiki@${{ matrix.shiki-version }} --no-save
30+
- run: npm install shiki@${{ matrix.shiki-version }} --no-save --ignore-scripts
3131
- run: npm run build
3232
- run: npm test

0 commit comments

Comments
 (0)