diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef4e4b96..8cea83c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,9 +1,5 @@ on: workflow_call: - inputs: - branch: - required: false - type: string jobs: test: @@ -14,9 +10,7 @@ jobs: node: [12.x, 14.x, 16.x, 18.x] steps: - name: Git checkout - uses: actions/checkout@v2 - with: - ref: ${{ inputs.branch || github.event.pull_request.head.ref || github.ref_name }} + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v1 @@ -35,7 +29,7 @@ jobs: - run: npm run test:cov || npm run test:cov || npm run test:cov - name: Coveralls if: matrix.node == '18.x' - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} flag-name: node-${{matrix.node}} @@ -53,7 +47,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Coveralls - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} parallel-finished: true