diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d4e2482..e56a0b71 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,30 +8,7 @@ name: Test - opened - synchronize jobs: - test_matrix: - runs-on: ubuntu-latest - strategy: - matrix: - node_version: - - 18 - - 20 - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node_version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node_version }} - cache: npm - - uses: denoland/setup-deno@v1 - with: - deno-version: v1.x - - run: npm ci - - run: npm test test: - runs-on: ubuntu-latest - needs: test_matrix - steps: - - run: exit 1 - if: ${{ needs.test_matrix.result != 'success' }} - - run: echo ok - if: ${{ always() }} + uses: oscard0m/.github-octokit/.github/workflows/test.yml@add-shared-action + with: + node_versions: '[18,20]'