Showing the changes to node_modules/resolve (7 of 41 files). Show all
Unified · Split
| @@ -0,0 +1,54 @@ | |||
| 1 | name: 'Tests: node.js' | ||
| 2 | |||
| 3 | on: [pull_request, push] | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | matrix: | ||
| 7 | runs-on: ubuntu-latest | ||
| 8 | outputs: | ||
| 9 | latest: ${{ steps.set-matrix.outputs.requireds }} | ||
| 10 | minors: ${{ steps.set-matrix.outputs.optionals }} | ||
| 11 | steps: | ||
| 12 | - uses: ljharb/actions/node/matrix@main | ||
| 13 | id: set-matrix | ||
| 14 | with: | ||
| 15 | preset: '>=4' | ||
| 16 | |||
| 17 | latest: | ||
| 18 | needs: [matrix] | ||
| 19 | name: 'latest minors' | ||
| 20 | runs-on: ubuntu-latest | ||
| 21 | |||
| 22 | strategy: | ||
| 23 | matrix: ${{ fromJson(needs.matrix.outputs.latest) }} | ||
| 24 | |||
| 25 | steps: | ||
| 26 | - uses: actions/checkout@v2 | ||
| 27 | - uses: ljharb/actions/node/run@main | ||
| 28 | name: 'npm install && npm run tests-only' | ||
| 29 | with: | ||
| 30 | node-version: ${{ matrix.node-version }} | ||
| 31 | command: 'tests-only' | ||
| 32 | minors: | ||
| 33 | needs: [matrix, latest] | ||
| 34 | name: 'non-latest minors' | ||
| 35 | continue-on-error: true | ||
| 36 | if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} | ||
| 37 | runs-on: ubuntu-latest | ||
| 38 | |||
| 39 | strategy: | ||
| 40 | matrix: ${{ fromJson(needs.matrix.outputs.minors) }} | ||
| 41 | |||
| 42 | steps: | ||
| 43 | - uses: actions/checkout@v2 | ||
| 44 | - uses: ljharb/actions/node/run@main | ||
| 45 | with: | ||
| 46 | node-version: ${{ matrix.node-version }} | ||
| 47 | command: 'tests-only' | ||
| 48 | |||
| 49 | node: | ||
| 50 | name: 'node 4+' | ||
| 51 | needs: [latest, minors] | ||
| 52 | runs-on: ubuntu-latest | ||
| 53 | steps: | ||
| 54 | - run: 'echo tests completed' | ||
| @@ -0,0 +1,55 @@ | |||
| 1 | name: 'Tests: node.js (io.js)' | ||
| 2 | |||
| 3 | on: [pull_request, push] | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | matrix: | ||
| 7 | runs-on: ubuntu-latest | ||
| 8 | outputs: | ||
| 9 | latest: ${{ steps.set-matrix.outputs.requireds }} | ||
| 10 | minors: ${{ steps.set-matrix.outputs.optionals }} | ||
| 11 | steps: | ||
| 12 | - uses: ljharb/actions/node/matrix@main | ||
| 13 | id: set-matrix | ||
| 14 | with: | ||
| 15 | preset: 'iojs' | ||
| 16 | |||
| 17 | latest: | ||
| 18 | needs: [matrix] | ||
| 19 | name: 'latest minors' | ||
| 20 | runs-on: ubuntu-latest | ||
| 21 | |||
| 22 | strategy: | ||
| 23 | matrix: ${{ fromJson(needs.matrix.outputs.latest) }} | ||
| 24 | |||
| 25 | steps: | ||
| 26 | - uses: actions/checkout@v2 | ||
| 27 | - uses: ljharb/actions/node/run@main | ||
| 28 | name: 'npm install && npm run tests-only' | ||
| 29 | with: | ||
| 30 | node-version: ${{ matrix.node-version }} | ||
| 31 | command: 'tests-only' | ||
| 32 | minors: | ||
| 33 | needs: [matrix, latest] | ||
| 34 | name: 'non-latest minors' | ||
| 35 | continue-on-error: true | ||
| 36 | if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} | ||
| 37 | runs-on: ubuntu-latest | ||
| 38 | |||
| 39 | strategy: | ||
| 40 | matrix: ${{ fromJson(needs.matrix.outputs.minors) }} | ||
| 41 | |||
| 42 | steps: | ||
| 43 | - uses: actions/checkout@v2 | ||
| 44 | - uses: ljharb/actions/node/run@main | ||
| 45 | name: 'npm install && npm run tests-only' | ||
| 46 | with: | ||
| 47 | node-version: ${{ matrix.node-version }} | ||
| 48 | command: 'tests-only' | ||
| 49 | |||
| 50 | node: | ||
| 51 | name: 'io.js' | ||
| 52 | needs: [latest, minors] | ||
| 53 | runs-on: ubuntu-latest | ||
| 54 | steps: | ||
| 55 | - run: 'echo tests completed' | ||
| @@ -0,0 +1,27 @@ | |||
| 1 | name: 'Tests: pretest/posttest' | ||
| 2 | |||
| 3 | on: [pull_request, push] | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | pretest: | ||
| 7 | runs-on: ubuntu-latest | ||
| 8 | |||
| 9 | |||
| 10 | steps: | ||
| 11 | - uses: actions/checkout@v2 | ||
| 12 | - uses: ljharb/actions/node/run@main | ||
| 13 | name: 'npm install && npm run pretest' | ||
| 14 | with: | ||
| 15 | node-version: 'lts/*' | ||
| 16 | command: 'pretest' | ||
| 17 | |||
| 18 | posttest: | ||
| 19 | runs-on: ubuntu-latest | ||
| 20 | |||
| 21 | steps: | ||
| 22 | - uses: actions/checkout@v2 | ||
| 23 | - uses: ljharb/actions/node/run@main | ||
| 24 | name: 'npm install && npm run posttest' | ||
| 25 | with: | ||
| 26 | node-version: 'lts/*' | ||
| 27 | command: 'posttest' | ||
| @@ -0,0 +1,55 @@ | |||
| 1 | name: 'Tests: node.js (0.x)' | ||
| 2 | |||
| 3 | on: [pull_request, push] | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | matrix: | ||
| 7 | runs-on: ubuntu-latest | ||
| 8 | outputs: | ||
| 9 | stable: ${{ steps.set-matrix.outputs.requireds }} | ||
| 10 | unstable: ${{ steps.set-matrix.outputs.optionals }} | ||
| 11 | steps: | ||
| 12 | - uses: ljharb/actions/node/matrix@main | ||
| 13 | id: set-matrix | ||
| 14 | with: | ||
| 15 | preset: '0.x' | ||
| 16 | |||
| 17 | stable: | ||
| 18 | needs: [matrix] | ||
| 19 | name: 'stable minors' | ||
| 20 | runs-on: ubuntu-latest | ||
| 21 | |||
| 22 | strategy: | ||
| 23 | matrix: ${{ fromJson(needs.matrix.outputs.stable) }} | ||
| 24 | |||
| 25 | steps: | ||
| 26 | - uses: actions/checkout@v2 | ||
| 27 | - uses: ljharb/actions/node/run@main | ||
| 28 | with: | ||
| 29 | node-version: ${{ matrix.node-version }} | ||
| 30 | command: 'tests-only' | ||
| 31 | cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }} | ||
| 32 | unstable: | ||
| 33 | needs: [matrix, stable] | ||
| 34 | name: 'unstable minors' | ||
| 35 | continue-on-error: true | ||
| 36 | if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} | ||
| 37 | runs-on: ubuntu-latest | ||
| 38 | |||
| 39 | strategy: | ||
| 40 | matrix: ${{ fromJson(needs.matrix.outputs.unstable) }} | ||
| 41 | |||
| 42 | steps: | ||
| 43 | - uses: actions/checkout@v2 | ||
| 44 | - uses: ljharb/actions/node/run@main | ||
| 45 | with: | ||
| 46 | node-version: ${{ matrix.node-version }} | ||
| 47 | command: 'tests-only' | ||
| 48 | cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }} | ||
| 49 | |||
| 50 | node: | ||
| 51 | name: 'node 0.x' | ||
| 52 | needs: [stable, unstable] | ||
| 53 | runs-on: ubuntu-latest | ||
| 54 | steps: | ||
| 55 | - run: 'echo tests completed' | ||
| @@ -0,0 +1,15 @@ | |||
| 1 | name: Automatic Rebase | ||
| 2 | |||
| 3 | on: [pull_request_target] | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | _: | ||
| 7 | name: "Automatic Rebase" | ||
| 8 | |||
| 9 | runs-on: ubuntu-latest | ||
| 10 | |||
| 11 | steps: | ||
| 12 | - uses: actions/checkout@v2 | ||
| 13 | - uses: ljharb/rebase@master | ||
| 14 | env: | ||
| 15 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| @@ -0,0 +1,14 @@ | |||
| 1 | name: Require “Allow Edits” | ||
| 2 | |||
| 3 | on: [pull_request_target] | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | _: | ||
| 7 | name: "Require “Allow Edits”" | ||
| 8 | |||
| 9 | runs-on: ubuntu-latest | ||
| 10 | |||
| 11 | steps: | ||
| 12 | - uses: ljharb/require-allow-edits@main | ||
| 13 | env: | ||
| 14 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
Empty file added.