Skip to content

Commit

Permalink
ci: fixed code
Browse files Browse the repository at this point in the history
  • Loading branch information
FajarKim committed Aug 9, 2024
1 parent 2d7b82d commit a23d734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/auto-build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,14 @@ permissions:
jobs:
update-package:
runs-on: ubuntu-latest
name: Auto build deps
strategy:
matrix:
node-version: [22.x]
if: github.repository == 'BarudakRosul/translate'

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

- name: Setup Node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ matrix.node-version }}
node-version: "22.x"
cache: npm

# Fix the unsafe repo error which was introduced by the CVE-2022-24765 git patches.
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,14 @@ permissions: read-all

jobs:
test:
name: Perform check
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
if: github.repository == 'BarudakRosul/translate'

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

- name: Setup Node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ matrix.node-version }}
node-version: "22.x"
cache: npm

- name: Install package
Expand Down

0 comments on commit a23d734

Please sign in to comment.