From bec56bb0fb44b43a786686b944875a3175cf3ff3 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 5 Aug 2024 11:00:55 +1200 Subject: [PATCH] [actions] further shard; update action deps --- .github/workflows/node-10-11.yml | 8 ++-- .github/workflows/node-12-13.yml | 8 ++-- .github/workflows/node-14-15.yml | 8 ++-- .github/workflows/node-16+.yml | 69 -------------------------------- .github/workflows/node-4-6.yml | 8 ++-- .github/workflows/node-7-9.yml | 8 ++-- .github/workflows/node-iojs.yml | 8 ++-- .github/workflows/node-zero.yml | 8 ++-- package.json | 2 +- 9 files changed, 29 insertions(+), 98 deletions(-) delete mode 100644 .github/workflows/node-16+.yml diff --git a/.github/workflows/node-10-11.yml b/.github/workflows/node-10-11.yml index 09fbd37..3339610 100644 --- a/.github/workflows/node-10-11.yml +++ b/.github/workflows/node-10-11.yml @@ -30,13 +30,13 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 minors: needs: [matrix, latest] @@ -55,13 +55,13 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 node: name: 'node v10 - v11' diff --git a/.github/workflows/node-12-13.yml b/.github/workflows/node-12-13.yml index 0ce550f..e6f49f4 100644 --- a/.github/workflows/node-12-13.yml +++ b/.github/workflows/node-12-13.yml @@ -30,13 +30,13 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 minors: needs: [matrix, latest] @@ -55,13 +55,13 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 node: name: 'node v12 - v13' diff --git a/.github/workflows/node-14-15.yml b/.github/workflows/node-14-15.yml index 9f4ffcf..dece750 100644 --- a/.github/workflows/node-14-15.yml +++ b/.github/workflows/node-14-15.yml @@ -30,13 +30,13 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 minors: needs: [matrix, latest] @@ -55,13 +55,13 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 node: name: 'node v14 - v15' diff --git a/.github/workflows/node-16+.yml b/.github/workflows/node-16+.yml deleted file mode 100644 index 958cf88..0000000 --- a/.github/workflows/node-16+.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: 'Tests: node.js (v16+)' - -on: [pull_request, push] - -jobs: - matrix: - runs-on: ubuntu-latest - outputs: - latest: ${{ steps.set-matrix.outputs.requireds }} - minors: ${{ steps.set-matrix.outputs.optionals }} - steps: - - uses: ljharb/actions/node/matrix@main - id: set-matrix - with: - versionsAsRoot: true - preset: '>=16' - - latest: - needs: [matrix] - name: 'latest minors' - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: ${{ fromJson(needs.matrix.outputs.latest) }} - command: - - test:stock - - test:shams:corejs - - test:shams:getownpropertysymbols - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/install@main - name: 'nvm install ${{ matrix.node-version }} && npm install' - with: - node-version: ${{ matrix.node-version }} - - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 - - minors: - needs: [matrix, latest] - name: 'non-latest minors' - continue-on-error: true - if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: ${{ fromJson(needs.matrix.outputs.minors) }} - command: - - test:stock - - test:shams:corejs - - test:shams:getownpropertysymbols - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/install@main - name: 'nvm install ${{ matrix.node-version }} && npm install' - with: - node-version: ${{ matrix.node-version }} - - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 - - node: - name: 'node v16+' - needs: [latest, minors] - runs-on: ubuntu-latest - steps: - - run: 'echo tests completed' diff --git a/.github/workflows/node-4-6.yml b/.github/workflows/node-4-6.yml index 18a0230..a26752c 100644 --- a/.github/workflows/node-4-6.yml +++ b/.github/workflows/node-4-6.yml @@ -30,13 +30,13 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 minors: needs: [matrix, latest] @@ -55,13 +55,13 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 node: name: 'node v4 - v6' diff --git a/.github/workflows/node-7-9.yml b/.github/workflows/node-7-9.yml index 2d970f0..db6f0de 100644 --- a/.github/workflows/node-7-9.yml +++ b/.github/workflows/node-7-9.yml @@ -30,13 +30,13 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 minors: needs: [matrix, latest] @@ -55,13 +55,13 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 node: name: 'node v7 - v9' diff --git a/.github/workflows/node-iojs.yml b/.github/workflows/node-iojs.yml index 1dc193c..11260d9 100644 --- a/.github/workflows/node-iojs.yml +++ b/.github/workflows/node-iojs.yml @@ -30,14 +30,14 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} skip-ls-check: true - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 minors: needs: [matrix, latest] @@ -56,14 +56,14 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: ${{ matrix.node-version }} skip-ls-check: true - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 node: name: 'io.js' diff --git a/.github/workflows/node-zero.yml b/.github/workflows/node-zero.yml index 317664c..6c958e3 100644 --- a/.github/workflows/node-zero.yml +++ b/.github/workflows/node-zero.yml @@ -31,7 +31,7 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: @@ -39,7 +39,7 @@ jobs: cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }} skip-ls-check: true - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 unstable: needs: [matrix, stable] @@ -59,7 +59,7 @@ jobs: - test:shams:getownpropertysymbols steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: @@ -67,7 +67,7 @@ jobs: cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }} skip-ls-check: true - run: npm run ${{ matrix.command }} - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3.1.5 node: name: 'node 0.x' diff --git a/package.json b/package.json index 549a668..0cf89a4 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "pretest": "npm run --silent lint", "test": "npm run tests-only", "posttest": "aud --production", - "tests-only": "npm run test:stock && npm run test:staging && npm run test:shams", + "tests-only": "npm run test:stock && npm run test:shams", "test:stock": "nyc node test", "test:staging": "nyc node --harmony --es-staging test", "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs",