Skip to content

fix(deps): update dependency find-test-names to v1.28.28 #574

fix(deps): update dependency find-test-names to v1.28.28

fix(deps): update dependency find-test-names to v1.28.28 #574

Workflow file for this run

name: ci
on: push
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v4
- name: Run tests πŸ§ͺ
# https://github.com/cypress-io/github-action
uses: cypress-io/github-action@v6
env:
DEBUG: 'cypress:server:specs'
- name: Check production dependencies πŸ’Ž
# remove OR once dependencies don't trigger an alert
run: npm run prod-deps || true
# prints all specs
- name: Demo found specs πŸ’»
run: npm run demo
- name: Print dependencies between tests and utils πŸ’»
run: npm run deps
# module and import support
- name: Test module support
run: npm run demo-tests
working-directory: test-modules
# prints all specs and tests inside each spec
- name: Demo test names πŸ’»
run: npm run demo-names
- name: Demo test names in Markdown format πŸ’»
run: npm run demo-names-markdown
- name: Demo test names in Markdown format and put into job summary πŸ’»
run: npm run demo-names-markdown >> "$GITHUB_STEP_SUMMARY"
- name: Demo component test names 🧩
run: npm run demo-component
- name: Demo tags πŸ’»
run: npm run demo-tags
- name: Demo test names and tags πŸ’»
run: npm run demo-names-and-tags
- name: Demo pending tests only πŸ’»
run: npm run demo-skipped-tests
- name: Demo count skipped tests πŸ’»
run: npm run demo-count-skipped-tests
- name: Demo names in json output πŸ’»
run: npm run demo-names-json
- name: Demo tags in json output πŸ’»
run: npm run demo-tags-json
- name: Demo with custom cypress config πŸ’»
run: npm run demo-custom-cypress-config
- name: Print specs changed against the main branch 🌳
run: npm run print-changed-specs
- name: Count the specs changed against the main branch 🌳
run: npm run count-changed-specs
- name: Load cypress.config.ts 🀘
run: npm run demo-tests --prefix test-ts
- name: Test cypress.config.ts project
run: npm test --prefix test-ts
- name: Load cypress.config.ts with import keyword 🀘
run: npm run demo-tests --prefix test-ts-import
- name: Test cypress.config.ts project with import keyword
run: npm test --prefix test-ts-import
- name: Trace TS path aliases demo
run: npm run deps --prefix test-ts-aliases
- name: Test cypress.json project (Cypress v9)
run: npm run demo-tests --prefix test-json
- name: Show finding specs by part of the test title
run: node ./bin/find.js --grep "something" --set-gha-outputs
- name: Test parsing broken JS file 🐞
run: npm run test-names --prefix test-parsing-error
- name: Test exclusive tests ↗️
run: npm run demo-exclusive
- name: Count all tags, including required
run: npm run count-all-tags
- name: Unit tests πŸ§ͺ
run: npm test
- name: Find tests in subfolder
run: npm run demo-subfolder
- name: Confirm we can run specs in subfolder
uses: cypress-io/github-action@v5
with:
# we have already installed all dependencies above
install: false
config-file: mocks/my-app/e2e/cypress.config.js
- name: Count all tests πŸ“Š
run: npm run demo-test-counts
- name: Show specs with tags
id: find-tagged
run: node ./bin/find --tagged @user --set-gha-outputs
- name: Print the found specs with tags
run: |
echo '${{ steps.find-tagged.outputs.taggedSpecsN }} Specs with tests tagged user' >> "$GITHUB_STEP_SUMMARY"
echo '${{ steps.find-tagged.outputs.taggedSpecs }}' >> "$GITHUB_STEP_SUMMARY"
- name: Semantic Release πŸš€
uses: cycjimmy/semantic-release-action@v3
if: github.ref == 'refs/heads/main'
with:
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}