Skip to content

Commit a23d734

Browse files
committed
ci: fixed code
1 parent 2d7b82d commit a23d734

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

.github/workflows/auto-build-package.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,14 @@ permissions:
3030
jobs:
3131
update-package:
3232
runs-on: ubuntu-latest
33-
name: Auto build deps
34-
strategy:
35-
matrix:
36-
node-version: [22.x]
37-
if: github.repository == 'BarudakRosul/translate'
3833

3934
steps:
4035
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4136

4237
- name: Setup Node
4338
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
4439
with:
45-
node-version: ${{ matrix.node-version }}
40+
node-version: "22.x"
4641
cache: npm
4742

4843
# Fix the unsafe repo error which was introduced by the CVE-2022-24765 git patches.

.github/workflows/test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,14 @@ permissions: read-all
1111

1212
jobs:
1313
test:
14-
name: Perform check
1514
runs-on: ubuntu-latest
16-
strategy:
17-
matrix:
18-
node-version: [22.x]
19-
if: github.repository == 'BarudakRosul/translate'
20-
2115
steps:
2216
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2317

2418
- name: Setup Node
2519
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
2620
with:
27-
node-version: ${{ matrix.node-version }}
21+
node-version: "22.x"
2822
cache: npm
2923

3024
- name: Install package

0 commit comments

Comments
 (0)