Skip to content

⬆️ Update dependency eslint to v9 #233

⬆️ Update dependency eslint to v9

⬆️ Update dependency eslint to v9 #233

---

Check failure on line 1 in .github/workflows/continuous-integration.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/continuous-integration.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: e2e
name: Pipeline - Continuous Integration
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
lockfile:
uses: wr-projects/github-jstemplate/.github/workflows/pnpm-lock-check-ci.yml@main
# More info: https://github.com/github/super-linter.
linter:
runs-on: ubuntu-latest
steps:
# More info: https://github.com/step-security/harden-runner.
- name: Harden Runner
id: harden_runner
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
with:
egress-policy: audit
# More info: https://github.com/peter-murray/workflow-application-token-action.
- name: Get token
id: get_token
uses: peter-murray/workflow-application-token-action@8e1ba3bf1619726336414f1014e37f17fbadf1db
with:
application_id: ${{ secrets.ID_LINTERBOT }}
application_private_key: ${{ secrets.PEM_LINTERBOT }}
# More info: https://github.com/actions/checkout.
- name: Checkout & Authentication
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
token: ${{ steps.get_token.outputs.token }}
persist-credentials: false
fetch-depth: 0
- name: Linter
uses: github/super-linter@bb2d833b08b6c288608686672b93a8a4589cdc49
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
DISABLE_ERRORS: false
LINTER_RULES_PATH: .github/config/linters
CSS_FILE_NAME: .stylelintrc.json
EDITORCONFIG_FILE_NAME: .ecrc
IGNORE_GITIGNORED_FILES: true
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.js
MARKDOWN_CONFIG_FILE: .markdownlint.json
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}
validation:
name: Node Analysis
runs-on: ubuntu-latest
steps:
# More info: https://github.com/step-security/harden-runner.
- name: Harden Runner
id: harden_runner
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
with:
egress-policy: audit
- name: Checkout Project
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
# More info: https://github.com/marketplace/actions/nodesecure-continuous-integration.
- name: Node Analysis
uses: NodeSecure/ci-action@177c57fe32c75cafabe87f6e4515d277cc37ae6c
with:
strategy: sonatype
vulnerabilities: medium
warnings: off
reporters: console
test:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [16, 17, 18]
instance: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
env:
GH_INSTANCE_TOTAL: 10
steps:
# More info: https://github.com/step-security/harden-runner.
- name: Harden Runner
id: harden_runner
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
with:
egress-policy: audit
- name: Checkout Project
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- run: git status --porcelain
- run: git diff
- run: git diff --exit-code
- name: Use Node.js v${{ matrix.node }}
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install Dependencies
run: pnpm --frozen-lockfile
- name: Run tests
run: pnpm test
env:
GH_INSTANCE_INDEX: ${{ matrix.instance }}
- name: Store code coverage report
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb
with:
name: coverage
path: coverage/
#
e2e:
uses:
# More info: https://github.com/codecov/codecov-action.
upload_coverage_report:
name: Upload coverage report to codecov
needs: [test]
runs-on: ubuntu-latest
steps:
# More info: https://github.com/step-security/harden-runner.
- name: Harden Runner
id: harden_runner
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
with:
egress-policy: audit
- name: Download Coverage report
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7
with:
name: coverage
path: coverage/
- name: CodeCOV Upload
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70
with:
directory: coverage/
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}