This repository was archived by the owner on Feb 19, 2025. It is now read-only.
Bump @octokit/request-error and @octokit/rest in /.github/scripts #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull Request Tests | |
| on: | |
| pull_request: | |
| branches: [ '*' ] | |
| types: | |
| - opened | |
| - synchronize | |
| jobs: | |
| run-tests: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| env: | |
| working-directory: ./.github/scripts | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '14' | |
| check-latest: true | |
| cache: 'npm' | |
| cache-dependency-path: ${{ env.working-directory }}/package-lock.json | |
| - run: npm ci | |
| working-directory: ${{ env.working-directory }} | |
| - run: npm test | |
| working-directory: ${{ env.working-directory }} | |
| - uses: tintef/nyc-reporter-action@0.2.5 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| SKIP_COVERAGE_FOLDER: true | |
| WORKING_DIRECTORY: ${{ env.working-directory }} |