diff --git a/.github/workflows/auto-build-package.yml b/.github/workflows/auto-build-package.yml index 388ea2f..0849d2c 100644 --- a/.github/workflows/auto-build-package.yml +++ b/.github/workflows/auto-build-package.yml @@ -30,11 +30,6 @@ 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 @@ -42,7 +37,7 @@ jobs: - 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. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40deec3..e91fe00 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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