diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml deleted file mode 100644 index 7dff947..0000000 --- a/.github/workflows/actions.yml +++ /dev/null @@ -1,76 +0,0 @@ -- name: Codecov - uses: codecov/codecov-action@v3.1.1 - with: - token: ${{ secrets.CODECOV_TOKEN=e4a92fad-3e79-4f89-acbc-990cb929c01c }} # not required for public repos -on: [push, pull_request] -jobs: - no-deps: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-latest, windows-latest, ubuntu-latest] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Upload coverage to Codecov (script) - uses: ./ - with: - files: ./coverage/script/coverage-final.json - flags: script,${{ matrix.os }} - name: codecov-script - verbose: true - - name: Upload coverage to Codecov (demo) - uses: ./ - with: - files: ./coverage/calculator/coverage-final.json,./coverage/coverage-test/coverage-final.json - file: ./coverage/coverage-final.json - flags: demo,${{ matrix.os }} - name: codecov-demo - verbose: true - - name: Upload coverage to Codecov (version) - uses: ./ - with: - files: ./coverage/calculator/coverage-final.json,./coverage/coverage-test/coverage-final.json - file: ./coverage/coverage-final.json - flags: version,${{ matrix.os }} - name: codecov-version - version: v0.1.0_8880 - verbose: true - run: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-latest, windows-latest, ubuntu-latest] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Install dependencies - run: npm install - - name: Lint - run: npm run lint - - name: Run tests and collect coverage - run: npm run test - - name: Upload coverage to Codecov (script) - uses: ./ - with: - files: ./coverage/script/coverage-final.json - flags: script,${{ matrix.os }} - name: codecov-script - verbose: true - - name: Upload coverage to Codecov (demo) - uses: ./ - with: - files: ./coverage/calculator/coverage-final.json,./coverage/coverage-test/coverage-final.json - file: ./coverage/coverage-final.json - flags: demo,${{ matrix.os }} - name: codecov-demo - verbose: true - - name: Upload coverage to Codecov (version) - uses: ./ - with: - files: ./coverage/calculator/coverage-final.json,./coverage/coverage-test/coverage-final.json - file: ./coverage/coverage-final.json - flags: version,${{ matrix.os }} - name: codecov-version - version: v0.1.0_8880 - verbose: true \ No newline at end of file diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..6fe5b7f --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,2 @@ +- name: Codecov + uses: codecov/codecov-action@v3.1.1 diff --git a/.gitignore b/.gitignore index 751a2a5..0472d52 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ node_modules/ -vercel.json +vercel.json \ No newline at end of file diff --git a/codecov.SHA256SUM b/codecov.SHA256SUM new file mode 100644 index 0000000..53b7781 --- /dev/null +++ b/codecov.SHA256SUM @@ -0,0 +1 @@ +20f9c9d78483fce977b6cc39e231a734a23bcd36f4d536bb7355222fb88d02bc codecov \ No newline at end of file diff --git a/codecov.SHA256SUM.sig b/codecov.SHA256SUM.sig new file mode 100644 index 0000000..b91bf16 --- /dev/null +++ b/codecov.SHA256SUM.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEJwNOf9uFDgu8LGL/gGuyiu13mGkFAmMsvyQACgkQgGuyiu13 +mGmStA/+N4roe/N6hA78uO55SL8/8tfS75QYe+PbRF3nN+mpXsyik+gMZWfu9SLT +lQJK2T9PfU6dFx5VnceoENXgnH+SUvDLorKUOwTolXMIEos9bLCPRcgfe3AkTeZR +2sHZcDj75nmcfEpO9Tf/Jpq2PPrP24J3S822/v3ZT8lca9jJe8CJlBL15yXC1kgD +Vk72+r9KzAoAu6bCEvBOOIFHHNfVBf0635vamRFCHFgjN1rRJW5cuyieZr9rYa22 +1KDpN6vijJwUlrwB7V8wTvaeOEinR5Fzo55TtjTtE4brfaOF2KCzM33Czzep3SfH +OPJENE1+A+/bleRcVok5qmRfvMThSITE98INNk4qCVsB1YqTOvtJs5rFtyuH/Xqf +674HAqeNjzXvFME5oX4Hm31X1Y4rfzH0738H25J//3GqZWahivq7e8ElyYP+CI0H +pXbeN6E9Zup/QR6YjYWBV35AvRscC7v4e6HnlN9ctTuAd0VZJXI8JLM1XTgiQnIQ +rql/7lIYrvzLerPmzVoAmYZuV2iAE7pxfo3Iy9zEtgV8cF42peE3TDyrqj5Ylbtc +1pKlfIIAhoB/ff2hIvGonXG4OgTCCQrUvbtI8KsNi6UFPX5jhCaltKMsLG/JPM+Q +vXPa43eZ+aWPHOi9dFdlg98GCFesSVKLECkU4DjoZxJsI493PrQ= +=IHR5 +-----END PGP SIGNATURE----- diff --git a/config.yml b/config.yml index ec67a95..5adbf0e 100644 --- a/config.yml +++ b/config.yml @@ -6,7 +6,7 @@ orbs: # The Node.js orb contains a set of prepackaged CircleCI configuration you can utilize # Orbs reduce the amount of configuration required for common tasks. # See the orb documentation here: https://circleci.com/developer/orbs/orb/circleci/node - node: circleci/node@4.7 + node: circleci/node@5.0.3 jobs: # Below is the definition of your job to build and test your app, you can rename and customize it as you want.