Update Github flow

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2025-10-23 11:19:17 +01:00
parent 988416baa3
commit 53ed7cf358
2 changed files with 19 additions and 5 deletions
+18 -5
View File
@@ -14,20 +14,32 @@ permissions:
jobs:
update-migration-progress:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
name: Update Migration Progress Issue
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'
cache: 'yarn'
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: Install dependencies
run: yarn install --immutable
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: Run migration analysis
id: analysis
@@ -41,6 +53,7 @@ jobs:
echo "EOF" >> $GITHUB_ENV
- name: Update GitHub Issue
if: matrix.node-version == '20.x'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
+1
View File
@@ -166,6 +166,7 @@
"sloc": "^0.3.1",
"sort-package-json": "^2.8.0",
"storybook": "^9.1.7",
"ts-morph": "^24.0.0",
"typedoc": "^0.28.0",
"typescript": "~5.7.0",
"vite": "^7.1.5"